Restrict test cache restoration

There is currently no way to invalidate the cache, so master won't pass CI if a breaking change has been made to the binary data formats.

Fix this by only restoring from the same commit SHA.
This commit is contained in:
Michael Bell 2021-09-21 19:41:48 +01:00 committed by GitHub
parent f6349a7fbe
commit 72f74d51b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -397,8 +397,6 @@ jobs:
with:
path: ${{github.workspace}}/test/cache
key: test-${{ matrix.name }}-${{ github.sha }}
restore-keys: |
test-${{ matrix.name }}-
- name: Prepare environment
run: |