try to cache rust
This commit is contained in:
parent
a404b9aabf
commit
c58edbfa21
10
ci/audit.yml
10
ci/audit.yml
@ -4,10 +4,14 @@ image_resource:
|
|||||||
type: registry-image
|
type: registry-image
|
||||||
source: {repository: rust}
|
source: {repository: rust}
|
||||||
|
|
||||||
# This should cache cargo audit
|
# move cargo's config directory to be ./.cargo-config/ and cache it
|
||||||
|
params:
|
||||||
|
CARGO_HOME: "./.cargo-config"
|
||||||
|
|
||||||
caches:
|
caches:
|
||||||
- path: "./.cargo/"
|
- path: "./target"
|
||||||
- path: "./target/"
|
- path: "./.cargo-config"
|
||||||
|
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
- name: repo
|
- name: repo
|
||||||
|
|||||||
@ -4,9 +4,13 @@ image_resource:
|
|||||||
type: registry-image
|
type: registry-image
|
||||||
source: {repository: rust}
|
source: {repository: rust}
|
||||||
|
|
||||||
|
# move cargo's config directory to be ./.cargo-config/ and cache it
|
||||||
|
params:
|
||||||
|
CARGO_HOME: "./.cargo-config"
|
||||||
|
|
||||||
caches:
|
caches:
|
||||||
- path: "~/.cargo/"
|
- path: "./target"
|
||||||
- path: "~/target/"
|
- path: "./.cargo-config"
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
- name: repo
|
- name: repo
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user