ci: work around confusing cargo-fmt problem with CARGO_HOME

This commit is contained in:
Heiko Schaefer 2022-11-03 13:32:58 +01:00
parent 27697cb2c5
commit fd07f6b6b9
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -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: