update cache dirs
This commit is contained in:
parent
c72dbc81eb
commit
24f11fe4ee
@ -4,13 +4,15 @@ 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
|
# move rust's config directories to be in the current directory, so they can be cached.
|
||||||
params:
|
params:
|
||||||
CARGO_HOME: "./.cargo-config"
|
CARGO_HOME: "./.cargo-config"
|
||||||
|
RUSTUP_HOME: "./.rustup-config"
|
||||||
|
|
||||||
caches:
|
caches:
|
||||||
- path: "./repo/target"
|
- path: "./repo/target"
|
||||||
- path: "./repo/.cargo-config"
|
- path: "./repo/.cargo-config"
|
||||||
|
- path: "./repo/.rustup-config"
|
||||||
|
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
@ -4,9 +4,10 @@ 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
|
# move rust's config directories to be in the current directory, so they can be cached.
|
||||||
params:
|
params:
|
||||||
CARGO_HOME: "./.cargo-config"
|
CARGO_HOME: "./.cargo-config"
|
||||||
|
RUSTUP_HOME: "./.rustup-config"
|
||||||
|
|
||||||
caches:
|
caches:
|
||||||
- path: "./repo/target"
|
- path: "./repo/target"
|
||||||
|
|||||||
@ -4,9 +4,15 @@ image_resource:
|
|||||||
type: registry-image
|
type: registry-image
|
||||||
source: {repository: rust}
|
source: {repository: rust}
|
||||||
|
|
||||||
# This should cache rustfmt
|
# move rust's config directories to be in the current directory, so they can be cached.
|
||||||
|
params:
|
||||||
|
CARGO_HOME: "./.cargo-config"
|
||||||
|
RUSTUP_HOME: "./.rustup-config"
|
||||||
|
|
||||||
caches:
|
caches:
|
||||||
- path: "./.rustup/"
|
- path: "./repo/target"
|
||||||
|
- path: "./repo/.cargo-config"
|
||||||
|
- path: "./repo/.rustup-config"
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
- name: repo
|
- name: repo
|
||||||
|
|||||||
12
ci/lint.yml
12
ci/lint.yml
@ -4,11 +4,15 @@ image_resource:
|
|||||||
type: registry-image
|
type: registry-image
|
||||||
source: {repository: rust}
|
source: {repository: rust}
|
||||||
|
|
||||||
# This should cache clippy
|
# move rust's config directories to be in the current directory, so they can be cached.
|
||||||
|
params:
|
||||||
|
CARGO_HOME: "./.cargo-config"
|
||||||
|
RUSTUP_HOME: "./.rustup-config"
|
||||||
|
|
||||||
caches:
|
caches:
|
||||||
- path: "./.rustup/"
|
- path: "./repo/target"
|
||||||
- path: "./.cargo/"
|
- path: "./repo/.cargo-config"
|
||||||
- path: "./target/"
|
- path: "./repo/.rustup-config"
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
- name: repo
|
- name: repo
|
||||||
|
|||||||
@ -4,9 +4,10 @@ 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
|
# move rust's config directories to be in the current directory, so they can be cached.
|
||||||
params:
|
params:
|
||||||
CARGO_HOME: "./.cargo-config"
|
CARGO_HOME: "./.cargo-config"
|
||||||
|
RUSTUP_HOME: "./.rustup-config"
|
||||||
|
|
||||||
caches:
|
caches:
|
||||||
- path: "./repo/target"
|
- path: "./repo/target"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user