aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.circleci/config.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index b3b41cc..4355f4b 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -70,6 +70,12 @@ jobs:
- checkout
- run: cargo --version
- run:
+ name: Install Rust nightly
+ command: rustup install nightly
+ - run:
+ name: Setting Rust nightly as default
+ command: rustup default nightly
+ - run:
name: Run Rustfmt
command: find src macros/src -type f -name "*.rs" -exec rustfmt --edition 2021 --check {} \;