From 9ed85181eec9c09b80f9bd88ed2d4c1852eb2492 Mon Sep 17 00:00:00 2001 From: Mitchell Marino Date: Mon, 19 Dec 2022 17:57:44 -0600 Subject: [PATCH] add caches --- ci/build-linux.yml | 3 +++ ci/lint.yml | 1 + ci/test.yml | 3 +++ 3 files changed, 7 insertions(+) diff --git a/ci/build-linux.yml b/ci/build-linux.yml index d6edafb..8e80a74 100644 --- a/ci/build-linux.yml +++ b/ci/build-linux.yml @@ -4,6 +4,9 @@ image_resource: type: registry-image source: {repository: rust} +caches: +- path: "./target/" + inputs: - name: repo diff --git a/ci/lint.yml b/ci/lint.yml index 8a00dff..ba7b284 100644 --- a/ci/lint.yml +++ b/ci/lint.yml @@ -7,6 +7,7 @@ image_resource: # This should cache clippy caches: - path: "./.rustup/" +- path: "./target/" inputs: - name: repo diff --git a/ci/test.yml b/ci/test.yml index d6edafb..8e80a74 100644 --- a/ci/test.yml +++ b/ci/test.yml @@ -4,6 +4,9 @@ image_resource: type: registry-image source: {repository: rust} +caches: +- path: "./target/" + inputs: - name: repo