From 6dd7c9286cd843b7a50e53b49afe174e652954f8 Mon Sep 17 00:00:00 2001 From: John Smith Date: Sun, 5 Dec 2021 11:06:22 -0500 Subject: [PATCH] caching --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b20a6fa8..3a6fe36f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,6 +13,9 @@ clippy: tags: - linux - amd64 + cache: + paths: + - target/ before_script: - rustup component add clippy script: @@ -26,6 +29,9 @@ test_linux_amd64: tags: - linux - amd64 + cache: + paths: + - target/ script: # - RUSTFLAGS="-D warnings" RUST_BACKTRACE=1 dbus-run-session -- cargo test -- --nocapture - RUST_BACKTRACE=1 dbus-run-session -- cargo test -- --nocapture