diff --git a/.github/workflows/arginfo-files.yml b/.github/workflows/arginfo-files.yml index c0b0a8c0e..28b5e1b83 100644 --- a/.github/workflows/arginfo-files.yml +++ b/.github/workflows/arginfo-files.yml @@ -12,6 +12,9 @@ on: - "master" - "feature/*" +env: + PHP_VERSION: "8.2" + jobs: check-arginfo: name: "Check generated arginfo files" @@ -31,7 +34,7 @@ jobs: - name: "Install PHP" uses: "shivammathur/setup-php@v2" with: - php-version: "${{ matrix.php-version }}" + php-version: "${{ env.PHP_VERSION }}" - name: "Run phpize" run: phpize diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index c1ecb3309..02efe992e 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -12,16 +12,14 @@ on: - "master" - "feature/*" +env: + PHP_VERSION: "7.4" + jobs: coding-standards: name: "Coding Standards" runs-on: "ubuntu-20.04" - strategy: - matrix: - php-version: - - "7.4" - steps: - name: "Checkout" uses: "actions/checkout@v4" @@ -31,7 +29,7 @@ jobs: - name: "Install PHP" uses: "shivammathur/setup-php@v2" with: - php-version: "${{ matrix.php-version }}" + php-version: "${{ env.PHP_VERSION }}" - name: "Configure driver" run: .github/workflows/configure.sh