gitlab-ci: use --force for clippy and rustfmt isntallation.

This commit is contained in:
Jordan Petridis 2017-12-20 13:25:31 +02:00
parent bda09c032a
commit ccfea527ac
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -44,7 +44,7 @@ rustfmt:
CFG_RELEASE_CHANNEL: "nightly"
script:
- rustc --version && cargo --version
- cargo install rustfmt-nightly
- cargo install rustfmt-nightly --force
- cargo fmt --all -- --write-mode=diff
# Configure and run clippy on nightly
@ -54,5 +54,5 @@ clippy:
stage: lint
script:
- rustc --version && cargo --version
- cargo install clippy
- cargo install clippy --force
- cargo clippy --all