Skip to content

Commit b000535

Browse files
committed
GH Actions: update PHP versions in workflows
PHP 8.2 has been released today 🎉 and the `setup-php` action has announced support for PHP 8.3, so adding PHP 8.3 to the matrix and no longer allowing PHP 8.2 to fail the build. Builds against PHP 8.3 are still allowed to fail for now.
1 parent a54c72d commit b000535

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/run-tests.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
strategy:
2727
matrix:
28-
php: ['8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4']
28+
php: ['8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4']
2929
dependency-version: ['prefer-stable']
3030
experimental: [false]
3131

@@ -45,8 +45,11 @@ jobs:
4545
- php: '8.1'
4646
dependency-version: 'prefer-lowest'
4747
experimental: false
48-
4948
- php: '8.2'
49+
dependency-version: 'prefer-lowest'
50+
experimental: false
51+
52+
- php: '8.3'
5053
dependency-version: 'prefer-stable'
5154
experimental: true
5255

@@ -79,12 +82,12 @@ jobs:
7982
run: composer require --no-update phpunit/phpunit:"^9.0" --no-interaction
8083

8184
- name: Install dependencies - normal
82-
if: ${{ matrix.php < 8.2 }}
85+
if: ${{ matrix.php < 8.3 }}
8386
run: |
8487
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress --no-interaction
8588
8689
- name: Install dependencies - ignore platform reqs
87-
if: ${{ matrix.php >= 8.2 }}
90+
if: ${{ matrix.php >= 8.3 }}
8891
run: |
8992
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress --ignore-platform-reqs --no-interaction
9093

0 commit comments

Comments
 (0)