Run checks on PHP 8.4 also

This commit is contained in:
Anders Jenbo 2025-02-24 11:18:11 +01:00
parent 831fc7eb51
commit b02545fb24

View File

@ -9,14 +9,13 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.0', '8.1', '8.2', '8.3']
php: ['8.0', '8.1', '8.2', '8.3', '8.4']
steps:
- name: Checkout
uses: actions/checkout@v2
@ -49,11 +48,11 @@ jobs:
- name: Install Dependencies
run: composer install
- name: Run PHPStan
run: php tools/phpstan.phar analyze --no-progress
- name: Check Code Style
if: matrix.php == '8.3'
run: |
php tools/php-cs-fixer.phar fix --dry-run --diff --ansi || true
php tools/php-cs-fixer.phar fix --dry-run --format=checkstyle | cs2pr
- name: Run PHPStan
run: php tools/phpstan.phar analyze --no-progress