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