Skip to content

Commit 4465d24

Browse files
authored
Update GitHub Actions job names (#1632)
1 parent 21935e2 commit 4465d24

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

.github/workflows/arginfo-files.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,14 @@ on:
1212
- "master"
1313
- "feature/*"
1414

15+
env:
16+
PHP_VERSION: "8.2"
17+
1518
jobs:
1619
check-arginfo:
1720
name: "Check generated arginfo files"
1821
runs-on: "ubuntu-20.04"
1922

20-
strategy:
21-
matrix:
22-
php-version:
23-
- "8.2"
24-
2523
steps:
2624
- name: "Checkout"
2725
uses: "actions/checkout@v4"
@@ -31,7 +29,7 @@ jobs:
3129
- name: "Install PHP"
3230
uses: "shivammathur/setup-php@v2"
3331
with:
34-
php-version: "${{ matrix.php-version }}"
32+
php-version: "${{ env.PHP_VERSION }}"
3533

3634
- name: "Run phpize"
3735
run: phpize

.github/workflows/clang-format.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,14 @@ on:
1212
- "master"
1313
- "feature/*"
1414

15+
env:
16+
PHP_VERSION: "7.4"
17+
1518
jobs:
1619
coding-standards:
1720
name: "Coding Standards"
1821
runs-on: "ubuntu-20.04"
1922

20-
strategy:
21-
matrix:
22-
php-version:
23-
- "7.4"
24-
2523
steps:
2624
- name: "Checkout"
2725
uses: "actions/checkout@v4"
@@ -31,7 +29,7 @@ jobs:
3129
- name: "Install PHP"
3230
uses: "shivammathur/setup-php@v2"
3331
with:
34-
php-version: "${{ matrix.php-version }}"
32+
php-version: "${{ env.PHP_VERSION }}"
3533

3634
- name: "Configure driver"
3735
run: .github/workflows/configure.sh

0 commit comments

Comments
 (0)