Skip to content

Commit

Permalink
[BUGFIX] Use the PHP version from the CI matrix for the CGL checks (#…
Browse files Browse the repository at this point in the history
…2320)

Fixes #2319
  • Loading branch information
oliverklee authored Jan 16, 2024
1 parent 990150d commit 58e648c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/core11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: Build/Scripts/runTests.sh -t 11 -p ${{ matrix.php }} -s lint

- name: Validate code against CGL
run: PHP_CS_FIXER_IGNORE_ENV=1 Build/Scripts/runTests.sh -t 11 -p 8.1 -s cgl -n
run: PHP_CS_FIXER_IGNORE_ENV=1 Build/Scripts/runTests.sh -t 11 -p ${{ matrix.php }} -s cgl -n

- name: Unit Tests
run: Build/Scripts/runTests.sh -t 11 -p ${{ matrix.php }} -s unit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/core12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php }} -s lint

- name: Validate code against CGL
run: PHP_CS_FIXER_IGNORE_ENV=1 Build/Scripts/runTests.sh -t 12 -p 8.1 -s cgl -n
run: PHP_CS_FIXER_IGNORE_ENV=1 Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php }} -s cgl -n

- name: Unit Tests
run: Build/Scripts/runTests.sh -t 12 -p ${{ matrix.php }} -s unit
Expand Down

0 comments on commit 58e648c

Please sign in to comment.