Skip to content

Commit e72b223

Browse files
committed
ci: run checks in PHP 8.6
1 parent 1f4e54f commit e72b223

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎.github/workflows/build.yml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
php-version:
2020
- "8.4"
2121
- "8.5"
22+
- "8.6"
23+
include:
24+
# PHP 8.6 is not released yet, so dependencies do not allow it yet
25+
- php-version: "8.6"
26+
composer-options: "--ignore-platform-req=php+"
2227

2328
steps:
2429
- name: "Checkout"
@@ -38,7 +43,7 @@ jobs:
3843
restore-keys: "php-${{ matrix.php-version }}-composer-"
3944

4045
- name: "Install highest dependencies"
41-
run: "composer update --prefer-dist --no-interaction --no-progress --no-suggest"
46+
run: "composer update --prefer-dist --no-interaction --no-progress --no-suggest ${{ matrix.composer-options }}"
4247

4348
- name: "Code Style"
4449
run: "vendor/bin/phpcs"

0 commit comments

Comments
 (0)