diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f02865055cb68966c38123dbb2d7fadd60722310..e138dc5be8a316db138101b29c0d8a5fc5db69e0 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 - - if [[ $RUST_VERSION != "1.56.1" ]]; cargo fmt --all -- --check; fi + - if [[ $RUST_VERSION != "1.56.1" ]]; then cargo fmt --all -- --check; fi - if [[ $RUST_VERSION != nightly ]]; then cargo clippy -- -D warnings -A unknown-lints; fi - cargo build - cargo build --release