File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1717 with :
1818 ref : ${{ github.head_ref }}
1919
20+ - name : Setup PHP
21+ uses : shivammathur/setup-php@v2
22+ with :
23+ php-version : 8.2
24+ coverage : none
25+ env :
26+ COMPOSER_TOKEN : ${{ secrets.GH_TOKEN_FOR_COMPOSER_FOR_PRIVATE_REPOS }}
27+
28+ - name : Get Composer cache directory
29+ id : composer-cache
30+ run : |
31+ echo "composer_dir={$(composer config cache-files-dir)}" >> $GITHUB_OUTPUT
32+
33+ - name : Retrieve Composer‘s cache
34+ uses : actions/cache@v3
35+ with :
36+ path : ${{ steps.composer-cache.outputs.composer_dir }}
37+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
38+ restore-keys : |
39+ ${{ runner.os }}-composer-
40+
41+ - name : Install composer dependencies
42+ run : " composer install --no-interaction --no-progress --no-scripts"
43+
2044 - name : Validate ruleset
2145 uses :
szepeviktor/[email protected] 2246 with :
You can’t perform that action at this time.
0 commit comments