From e72e7d2fd60887927041b023fc958b9d96e18c1d Mon Sep 17 00:00:00 2001 From: Luke Anderson Date: Tue, 7 May 2019 13:44:35 +1000 Subject: [PATCH] Moved the CARGO_HOME enviornment variable, in an attempt to get cargo packages to cache properly. --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 830cb7d7d..c7fa56fff 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,9 +6,13 @@ stages: - test - doc +variables: + - CARGO_HOME: /cache/cargocache + check-fmt: stage: test script: + - echo $CARGO_HOME - cargo fmt --all -- --check test-dev: @@ -35,5 +39,4 @@ pages: cache: paths: - - /cargocache - target/