diff --git a/ci/audit.yml b/ci/audit.yml index 257ee8e..10b02df 100644 --- a/ci/audit.yml +++ b/ci/audit.yml @@ -4,6 +4,10 @@ image_resource: type: registry-image source: {repository: rust} +# This should cache cargo audit +caches: +- path: "./.cargo/" + inputs: - name: repo diff --git a/ci/check-fmt.yml b/ci/check-fmt.yml index 676d609..ca12cf5 100644 --- a/ci/check-fmt.yml +++ b/ci/check-fmt.yml @@ -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 diff --git a/ci/lint.yml b/ci/lint.yml index 3d0acc9..8a00dff 100644 --- a/ci/lint.yml +++ b/ci/lint.yml @@ -4,6 +4,10 @@ image_resource: type: registry-image source: {repository: rust} +# This should cache clippy +caches: +- path: "./.rustup/" + inputs: - name: repo