Merge pull request #264 from srdante/patch-1

Fix Test Caching
This commit is contained in:
Peter Lai 2022-03-06 20:41:49 -08:00 committed by GitHub
commit cede0cc410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,9 +37,9 @@ jobs:
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: vendor path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-php- ${{ runner.os }}-php-${{ matrix.php-version }}-
- name: Install dependencies - name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true' if: steps.composer-cache.outputs.cache-hit != 'true'