From 78eec77617a2f44fc1b9893560fc34b207994114 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Fri, 13 Nov 2020 22:52:42 +0900 Subject: [PATCH] Add cache setting --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 164059751..bd9d7d071 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,13 @@ image: rust:latest +cache: + key: cargo + paths: + - target/ + - cargo/ +variables: + CARGO_HOME: $CI_PROJECT_DIR/cargo + stages: - test - pages