File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1414 fail-fast : false
1515 matrix :
1616 php-versions : ['8.2', '8.3', '8.4']
17+ dependency-version : [lowest, highest]
1718
1819 steps :
1920 - uses : actions/checkout@v3
@@ -26,15 +27,15 @@ jobs:
2627
2728 - name : Cache Composer packages
2829 id : composer-cache
29- uses : actions/cache@v3
30+ uses : actions/cache@v4
3031 with :
3132 path : vendor
32- key : ${{ runner.os }}-php- ${{ matrix.php-versions }}-${{ hashFiles('**/composer.lock') }}
33+ key : ${{ runner.os }}-${{ matrix.dependency-version }}-${{ hashFiles('**/composer.lock') }}
3334 restore-keys : |
3435 ${{ runner.os }}-php-
3536
3637 - name : Install dependencies
37- run : composer install --prefer-dist --no-progress
38+ run : composer update --${{ matrix.dependency-version }} -- prefer-dist --no-interaction
3839
3940 - name : Check coding standard
4041 run : vendor/bin/phpcs -p
You can’t perform that action at this time.
0 commit comments