cache pipelines
This commit is contained in:
parent
f0d44fd48c
commit
bd28d00d12
@ -4,6 +4,10 @@ image_resource:
|
||||
type: registry-image
|
||||
source: {repository: rust}
|
||||
|
||||
# This should cache cargo audit
|
||||
caches:
|
||||
- path: "./.cargo/"
|
||||
|
||||
inputs:
|
||||
- name: repo
|
||||
|
||||
|
||||
@ -4,15 +4,14 @@ image_resource:
|
||||
type: registry-image
|
||||
source: {repository: rust}
|
||||
|
||||
# This should cache rustfmt
|
||||
caches:
|
||||
- path: "./.rustup/"
|
||||
|
||||
inputs:
|
||||
- name: repo
|
||||
|
||||
run:
|
||||
# path: cargo
|
||||
# args: ["fmt", "--", "--check"]
|
||||
# dir: "repo"
|
||||
|
||||
# TODO: create an image with cargo check already installed
|
||||
path: sh
|
||||
args:
|
||||
- -exc
|
||||
|
||||
@ -4,6 +4,10 @@ image_resource:
|
||||
type: registry-image
|
||||
source: {repository: rust}
|
||||
|
||||
# This should cache clippy
|
||||
caches:
|
||||
- path: "./.rustup/"
|
||||
|
||||
inputs:
|
||||
- name: repo
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user