From ccfea527ac0f24627fe3ef0c4c3c927a799b8822 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Wed, 20 Dec 2017 13:25:31 +0200 Subject: [PATCH] gitlab-ci: use --force for clippy and rustfmt isntallation. --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8726f9e..e64a2ba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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