repair cache key and add restore key

This commit is contained in:
hyuraku 2021-04-06 23:01:42 +09:00
parent 3c308aa031
commit 9476ba2d2f

View File

@ -208,7 +208,8 @@ jobs:
uses: actions/cache@v1
with:
path: tests
key: ${{ runner.os }}-${{ matrix.test-flags }}-parallel_runtime_rspec
key: ${{ runner.os }}-${{ matrix.test-flags }}-parallel_runtime_rspec-${{ github.sha }}
restore-keys: ${{ runner.os }}-${{ matrix.test-flags }}-parallel_runtime_rspec
- name: Run brew tests
run: |
@ -299,7 +300,8 @@ jobs:
uses: actions/cache@v1
with:
path: tests
key: ${{ runner.os }}-parallel_runtime_rspec.log
key: ${{ runner.os }}-parallel_runtime_rspec-${{ github.sha }}
restore-keys: ${{ runner.os }}-parallel_runtime_rspec
- name: Run brew tests
run: brew tests --online --coverage