From a03cd31c59f55e1971242be8a39153135bcc89f1 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Tue, 16 Jan 2024 15:45:27 +0100 Subject: [PATCH] [BUGFIX] Use the PHP version from the CI matrix for the CGL checks Fixes #2319 --- .github/workflows/core11.yml | 2 +- .github/workflows/core12.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/core11.yml b/.github/workflows/core11.yml index 04152ac34b..f93d4daacd 100644 --- a/.github/workflows/core11.yml +++ b/.github/workflows/core11.yml @@ -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 diff --git a/.github/workflows/core12.yml b/.github/workflows/core12.yml index 6a39bc10cf..55aab4765e 100644 --- a/.github/workflows/core12.yml +++ b/.github/workflows/core12.yml @@ -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