From fd07f6b6b95756ccdff5965a726995e673b493a1 Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Thu, 3 Nov 2022 13:32:58 +0100 Subject: [PATCH] ci: work around confusing cargo-fmt problem with CARGO_HOME --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 076a034..4dae0d4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,6 +39,7 @@ cargo-fmt: stage: lint image: rust:latest before_script: + - export CARGO_HOME="/usr/local/cargo" # HACK: set back to its default - rustup toolchain install nightly && rustup component add --toolchain nightly rustfmt - *report-rust script: