Skip to content

Commit

Permalink
GH Actions: also lint against _next_ PHP version
Browse files Browse the repository at this point in the history
The PHP lint job currently checks all PHP files for parse/compile errors against a limited set of PHP versions, including the high/low versions.

It did not run the linter against the _next_ (upcoming) PHP version yet.

This has now been added with the `'nightly'` alias, which means that the version will automatically roll through to the next PHP version when a new PHP branchs gets cut, without us needing to manually maintain this.

Also note that the build against `nightly` is allowed to fail.
  • Loading branch information
jrfnl committed Aug 22, 2024
1 parent 028e22c commit 14f8798
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/phplint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:

strategy:
matrix:
php: ['5.4', '5.6', '7.2', 'latest']
php: ['5.4', '5.6', '7.2', 'latest', 'nightly']

continue-on-error: ${{ matrix.php == 'nightly' }}

name: "PHP Lint: PHP ${{ matrix.php }}"

Expand Down

0 comments on commit 14f8798

Please sign in to comment.