mirror of
https://github.com/chmln/sd
synced 2024-11-22 11:13:04 +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
|
- checkout
|
||||||
|
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: project-cache
|
key: v4-cargo-cache-{{ arch }}-{{ checksum "Cargo.lock" }}
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Test
|
name: Test
|
||||||
command: cargo check
|
command: cargo check
|
||||||
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: project-cache
|
|
||||||
paths:
|
paths:
|
||||||
- "~/.cargo"
|
- "~/.cargo"
|
||||||
- "./target"
|
- "./target"
|
||||||
|
- /usr/local/cargo/registry
|
||||||
|
key: v4-cargo-cache-{{ arch }}-{{ checksum "Cargo.lock" }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue