1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00

ci: use repository and ref as part of the cache key (#10067)

This commit is contained in:
Casper Beyer 2021-04-08 19:52:01 +08:00 committed by GitHub
parent ee07ef2962
commit d2e500e1cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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