Commit b818286 1 parent 5944f87 commit b818286 Copy full SHA for b818286
File tree 2 files changed +12
-6
lines changed
2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,16 @@ jobs:
16
16
phpcs :
17
17
name : PHP_CodeSniffer
18
18
runs-on : ubuntu-latest
19
+ strategy :
20
+ matrix :
21
+ php-versions : ['8.1', '8.2', '8.3']
19
22
steps :
20
23
- uses : actions/checkout@master
21
24
22
25
- name : Set up PHP
23
26
uses : shivammathur/setup-php@v2
24
27
with :
25
- php-version : ' 8.2 '
28
+ php-version : ${{ matrix.php-versions }}
26
29
27
30
- name : Install dependencies
28
31
run : composer update --prefer-dist --no-progress --ignore-platform-req="ext-*" ${{ matrix.composer-prefer }}
Original file line number Diff line number Diff line change @@ -17,13 +17,16 @@ jobs:
17
17
unit-tests :
18
18
name : PHPUnit
19
19
runs-on : ubuntu-latest
20
+ strategy :
21
+ matrix :
22
+ php-versions : ['8.1', '8.2', '8.3']
20
23
steps :
21
- - uses : actions/checkout@master
24
+ - uses : actions/checkout@master
22
25
23
- - name : Set up PHP
24
- uses : shivammathur/setup-php@v2
25
- with :
26
- php-version : ' 8.2 '
26
+ - name : Set up PHP
27
+ uses : shivammathur/setup-php@v2
28
+ with :
29
+ php-version : ${{ matrix.php-versions }}
27
30
28
31
- name : Validate composer.json and composer.lock
29
32
run : composer validate --strict
You can’t perform that action at this time.
0 commit comments