From 548bc7aa64ec717c1a93e7247365a22960acae46 Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 24 Oct 2020 22:55:04 +0100 Subject: [PATCH] cache vendor --- .github/workflows/test_and_publish.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test_and_publish.yml b/.github/workflows/test_and_publish.yml index 2b47a03c..d7ddb129 100644 --- a/.github/workflows/test_and_publish.yml +++ b/.github/workflows/test_and_publish.yml @@ -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