Skip to content

Commit

Permalink
GH Actions: update PHP versions in workflows
Browse files Browse the repository at this point in the history
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.

Includes minor tweak setting PHP to `latest` for tasks where the PHP version isn't that relevant.
  • Loading branch information
jrfnl authored and grogy committed Dec 11, 2022
1 parent bfb62f8 commit 540e642
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: 'latest'
coverage: none
tools: cs2pr

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ jobs:
# PHP 7.4 is tested in coverage section
- '8.0'
- '8.1'
- '8.2'
experimental: [false]

include:
- php: '8.2'
- php: '8.3'
experimental: true

name: "Test on PHP ${{ matrix.php }}"
Expand Down

0 comments on commit 540e642

Please sign in to comment.