File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,21 @@ jobs:
1818 fail-fast : true
1919 matrix :
2020 php : [7.3, 7.4]
21- name : PHP ${{ matrix.php }} Integration Tests
21+ name : Integration ( PHP ${{ matrix.php }})
2222 steps :
2323 - name : checkout
2424 uses : actions/checkout@v2
25+ - name : get cache directory
26+ id : composer-cache
27+ run : |
28+ echo "::set-output name=dir::$(composer config cache-files-dir)"
29+ - name : cache dependencies
30+ uses : actions/cache@v2
31+ with :
32+ path : ${{ steps.composer-cache.outputs.dir }}
33+ key : ${{ runner.os }}-composer-${{ matrix.php }}-${{ hashFiles('**.composer.lock') }}
34+ restore-keys : |
35+ ${{ runner.os }}-composer-${{ matrix.php }}-
2536 - name : setup
2637 uses : shivammathur/setup-php@v2
2738 with :
3041 tools : composer:v1
3142 coverage : none
3243 - name : install dependencies
33- run : composer install --prefer-dist --no-interation --no-progress
44+ run : composer install --prefer-dist --no-interaction --no-progress
3445 - name : execute tests
3546 run : vendor/bin/phpunit tests/Integration
3647 env :
You can’t perform that action at this time.
0 commit comments