File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,15 @@ jobs:
15
15
build :
16
16
strategy :
17
17
matrix :
18
- php : ['8.2', '7.2']
18
+ php :
19
+ - ' 8.3'
20
+ - ' 7.4'
19
21
fail-fast : false
20
22
name : PHP ${{ matrix.php }}
21
23
runs-on : ubuntu-latest
22
24
steps :
23
25
- name : Checkout repository
24
- uses : actions/checkout@v3
26
+ uses : actions/checkout@v4
25
27
26
28
- name : Install PHP
27
29
uses : shivammathur/setup-php@v2
@@ -36,20 +38,20 @@ jobs:
36
38
37
39
- name : Get Composer Cache Directory
38
40
id : composer-cache-dir
39
- run : |
40
- echo " dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
41
+ run : | # shell
42
+ echo dir=" $(composer config cache-files-dir)" >> " $GITHUB_OUTPUT"
41
43
42
44
- name : Cache PHP Dependencies
43
45
id : composer-cache
44
- uses : actions/cache@v3
46
+ uses : actions/cache@v4
45
47
with :
46
48
path : ${{ steps.composer-cache-dir.outputs.dir }}
47
49
key : ${{ runner.os }}-composer-${{ matrix.php }}-${{ hashFiles('composer.json') }}
48
50
49
51
- name : Install PHP Dependencies
50
- run : |
52
+ run : | # shell
51
53
composer install --prefer-dist --no-progress --no-interaction
52
54
53
55
- name : Run the tests
54
- run : |
56
+ run : | # shell
55
57
composer test
You can’t perform that action at this time.
0 commit comments