mirror of
https://github.com/denoland/deno.git
synced 2025-01-18 03:44:05 -05:00
ci: fallback to main's cache (#10068)
This commit is contained in:
parent
543080de55
commit
c4b21fbff1
1 changed files with 3 additions and 1 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -170,7 +170,9 @@ jobs:
|
||||||
~/.cargo/git
|
~/.cargo/git
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
./target
|
./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
|
- name: test_format.js
|
||||||
if: matrix.kind == 'lint'
|
if: matrix.kind == 'lint'
|
||||||
|
|
Loading…
Add table
Reference in a new issue