File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -10,25 +10,32 @@ jobs:
10
10
name : PHP ${{ matrix.php }}
11
11
steps :
12
12
- uses : actions/checkout@v4
13
+
13
14
- name : Install PHP
14
15
uses : shivammathur/setup-php@master
15
16
with :
16
17
php-version : ${{ matrix.php }}
18
+
17
19
- name : Report PHP version
18
20
run : php -v
21
+
19
22
- name : Validate composer.json and composer.lock
20
23
run : composer validate
24
+
21
25
- name : Get Composer Cache Directory
22
26
id : composer-cache
23
- run : echo "::set-output name=dir::$(composer config cache-files-dir)"
27
+ run : echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
28
+
24
29
- name : Cache dependencies
25
30
uses : actions/cache@v4
26
31
with :
27
32
path : ${{ steps.composer-cache.outputs.dir }}
28
33
key : ${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }}
29
34
restore-keys : ${{ matrix.php }}-composer-
35
+
30
36
- name : Install dependencies
31
37
run : composer install --prefer-dist --no-progress --no-suggest
38
+
32
39
- name : Run test suite
33
40
run : vendor/bin/phpunit
34
41
You can’t perform that action at this time.
0 commit comments