1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

ci: fallback to main's cache (#10068)

This commit is contained in:
Yoshiya Hinosawa 2021-04-08 23:56:43 +09:00 committed by GitHub
parent 543080de55
commit c4b21fbff1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,7 +170,9 @@ jobs:
~/.cargo/git
~/.cargo/registry
./target
key: cache-${{ github.repository }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }}
key: cache-${{ github.ref }}-${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
cache-refs/heads/main-${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }}
- name: test_format.js
if: matrix.kind == 'lint'