Skip to content

Commit d9846ae

Browse files
committed
Update php80.yml
1 parent 31e53af commit d9846ae

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/php80.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,19 @@ on:
55
branches: [ master ]
66
pull_request:
77
branches: [ master ]
8-
8+
env:
9+
OPERATING_SYS: "ubuntu-latest"
10+
PHP_VERSION: 8.0
911
jobs:
1012
test:
11-
runs-on: ${{ matrix.os }}
13+
runs-on: "$OPERATING_SYS"
1214
strategy:
1315
fail-fast: true
1416
matrix:
1517
os: [ ubuntu-latest ]
1618
php: [ 8.0 ]
1719

18-
name: PHP${{matrix.php}} - ${{matrix.os}}
20+
name: "PHP $PHP_VERSION - $OPERATING_SYS"
1921

2022
steps:
2123
- name: Clone Repo
@@ -24,7 +26,7 @@ jobs:
2426
- name: Setup PHP
2527
uses: shivammathur/setup-php@v2
2628
with:
27-
php-version: ${{ matrix.php }}
29+
php-version: $PHP_VERSION
2830
extensions: mysqli, mbstring, sqlsrv
2931
tools: phpunit:8.5.13
3032

0 commit comments

Comments
 (0)