cache vendor

This commit is contained in:
Shish 2020-10-24 22:55:04 +01:00
parent b45bc1d61c
commit 548bc7aa64

View File

@ -21,6 +21,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Set Up Cache
uses: actions/cache@v2
with:
path: |
vendor
key: vendor-${{ matrix.php }}-${{ hashFiles('composer.json') }}
- name: Set up PHP
uses: shivammathur/setup-php@master
with:
@ -79,6 +86,7 @@ jobs:
run: |
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover data/coverage.clover
publish:
name: Publish
runs-on: ubuntu-latest