ci: work around confusing cargo-fmt problem with CARGO_HOME
This commit is contained in:
parent
27697cb2c5
commit
fd07f6b6b9
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue