cache vendor
This commit is contained in:
parent
b45bc1d61c
commit
548bc7aa64
8
.github/workflows/test_and_publish.yml
vendored
8
.github/workflows/test_and_publish.yml
vendored
@ -21,6 +21,13 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
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
|
- name: Set up PHP
|
||||||
uses: shivammathur/setup-php@master
|
uses: shivammathur/setup-php@master
|
||||||
with:
|
with:
|
||||||
@ -79,6 +86,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
wget https://scrutinizer-ci.com/ocular.phar
|
wget https://scrutinizer-ci.com/ocular.phar
|
||||||
php ocular.phar code-coverage:upload --format=php-clover data/coverage.clover
|
php ocular.phar code-coverage:upload --format=php-clover data/coverage.clover
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
name: Publish
|
name: Publish
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user