From 24d4a16fdb7b99f843d2b80f6de7b488bfe13fc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Sun, 30 Apr 2023 13:13:05 +0100 Subject: [PATCH] fix: removed extra fmt check --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index daff0a98..f0286505 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,7 +33,7 @@ build-rust: - rustup component add rustfmt - rustup component add clippy - rustc --version - - cargo fmt --all -- --check + - if [[ $RUST_VERSION != "1.56.1" ]]; cargo fmt --all -- --check; fi - if [[ $RUST_VERSION != nightly ]]; then cargo clippy -- -D warnings -A unknown-lints; fi - cargo build - cargo build --release -- GitLab