CI: Fix rustfmt job.

This commit is contained in:
Jordan Petridis 2018-05-20 14:36:20 +03:00
parent 2312df3718
commit 0b6bbf6733
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -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
<<: *cargo_cache