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:
2121 uses : shivammathur/setup-php@v2
2222 with :
2323 php-version : ${{ matrix.php-version }}
24- extensions : yaml
24+ extensions : yaml, zip, curl
2525 env :
2626 COMPOSER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2727
2828 - name : Get composer cache directory
2929 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
3131
3232 - name : Cache dependencies
3333 uses : actions/cache@v4
3434 with :
3535 path : ${{ steps.composercache.outputs.dir }}
3636 key : ${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.json') }}
3737 restore-keys : ${{ runner.os }}-php-${{ matrix.php-version }}-
38-
38+
3939 - name : Install dependencies
40- if : ${{ matrix.php-version != '8.0' }}
4140 run : |
4241 composer install --prefer-dist
4342
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-
4943 - name : PHP Coding Standards
5044 run : |
5145 composer run-script phpcs
You can’t perform that action at this time.
0 commit comments