Install cargo fmt
Semantic delta
No definition changed: this change is text, documentation or data.
1 files · +3 −1
- .circleci/config.yml +3 −1
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 175e6abe8..6b1ac5942 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -12,6 +12,7 @@ jobs:
key: target-cache
- run: rustc --version; cargo --version; rustup --version
+ - run: rustup component add rustfmt
- run: cargo fmt -- --write-mode=diff
- run: cargo test
- run: cargo bench
@@ -19,4 +20,5 @@ jobs:
- save_cache:
key: target-cache
paths:
- - target
\ No newline at end of file
+ - ~/.cargo
+ - ./target
\ No newline at end of file