File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -21,31 +21,25 @@ jobs:
21
21
uses : shivammathur/setup-php@v2
22
22
with :
23
23
php-version : ${{ matrix.php-version }}
24
- extensions : yaml
24
+ extensions : yaml, zip, curl
25
25
env :
26
26
COMPOSER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27
27
28
28
- name : Get composer cache directory
29
29
id : composercache
30
- run : echo "::set-output name= dir:: $(composer config cache-files-dir)"
30
+ run : echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
31
31
32
32
- name : Cache dependencies
33
33
uses : actions/cache@v4
34
34
with :
35
35
path : ${{ steps.composercache.outputs.dir }}
36
36
key : ${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.json') }}
37
37
restore-keys : ${{ runner.os }}-php-${{ matrix.php-version }}-
38
-
38
+
39
39
- name : Install dependencies
40
- if : ${{ matrix.php-version != '8.0' }}
41
40
run : |
42
41
composer install --prefer-dist
43
42
44
- - name : ignore ignore-platform-reqs if it is using php 8
45
- if : ${{ matrix.php-version == '8.0' }}
46
- run : |
47
- composer install --prefer-dist --ignore-platform-reqs
48
-
49
43
- name : PHP Coding Standards
50
44
run : |
51
45
composer run-script phpcs
You can’t perform that action at this time.
0 commit comments