From 4465d249c021b8d63e30254539f777839f7960ec Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Thu, 5 Sep 2024 12:29:47 +0200 Subject: [PATCH] Update GitHub Actions job names (#1632) --- .github/workflows/arginfo-files.yml | 10 ++++------ .github/workflows/clang-format.yml | 10 ++++------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/arginfo-files.yml b/.github/workflows/arginfo-files.yml index c0b0a8c0e..5835dffb6 100644 --- a/.github/workflows/arginfo-files.yml +++ b/.github/workflows/arginfo-files.yml @@ -12,16 +12,14 @@ on: - "master" - "feature/*" +env: + PHP_VERSION: "8.2" + jobs: check-arginfo: name: "Check generated arginfo files" runs-on: "ubuntu-20.04" - strategy: - matrix: - php-version: - - "8.2" - 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: "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