From 0b6bbf6733b278bab6f288c491b7e79719a596a0 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Sun, 20 May 2018 14:36:20 +0300 Subject: [PATCH] CI: Fix rustfmt job. --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ffa6c14..cd0cac3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -125,7 +125,7 @@ rustfmt: script: - rustc -Vv && cargo -Vv - cargo fmt --version - - cargo fmt --all -- --write-mode=diff + - cargo fmt --all -- --check # Configure and run clippy on nightly # Only fails on errors atm. @@ -140,4 +140,4 @@ clippy: # Force regeneration of gresources regardless of artifacts chage - cd hammond-gtk/resources/ && glib-compile-resources --generate resources.xml && cd ../../ - cargo clippy --all - <<: *cargo_cache \ No newline at end of file + <<: *cargo_cache