From e653ff03e9e33218a8ef7892f1b6099407fe92e9 Mon Sep 17 00:00:00 2001 From: Florian Gilcher Date: Fri, 9 Aug 2019 10:42:50 +0200 Subject: [PATCH] Recommend running rustfmt last (#3733) As rustfmt checks fail, they might hide errors of more importance. Running it last makes sure that the serious bugs have been found and is less frustrating. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 292fcf644d2..142e1f1d272 100644 --- a/README.md +++ b/README.md @@ -136,9 +136,9 @@ language: rust before_script: - rustup component add rustfmt script: -- cargo fmt --all -- --check - cargo build - cargo test +- cargo fmt --all -- --check ``` See [this blog post](https://medium.com/@ag_dubs/enforcing-style-in-ci-for-rust-projects-18f6b09ec69d)