mirror of
https://github.com/chmln/sd
synced 2024-11-22 03:03:03 +00:00
adjust ci caching
This commit is contained in:
parent
d8f2f1e20d
commit
085d4ec12f
1 changed files with 3 additions and 2 deletions
|
@ -8,15 +8,16 @@ jobs:
|
|||
- checkout
|
||||
|
||||
- restore_cache:
|
||||
key: project-cache
|
||||
key: v4-cargo-cache-{{ arch }}-{{ checksum "Cargo.lock" }}
|
||||
|
||||
- run:
|
||||
name: Test
|
||||
command: cargo check
|
||||
|
||||
- save_cache:
|
||||
key: project-cache
|
||||
paths:
|
||||
- "~/.cargo"
|
||||
- "./target"
|
||||
- /usr/local/cargo/registry
|
||||
key: v4-cargo-cache-{{ arch }}-{{ checksum "Cargo.lock" }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue