aboutsummaryrefslogtreecommitdiff
path: root/.circleci/config.yml
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-11-11 20:15:19 +0100
committerHampusM <hampus@hampusmat.com>2022-11-11 20:15:41 +0100
commit4d9ef47fd15c2f7c83569c647f3b5afcbb79bded (patch)
treedecb00257a5839b8806d3a8ac5ce3644646aecdd /.circleci/config.yml
parentd802abc44539fdcea92dba8f741df9c5fff74c22 (diff)
ci: use Rust nightly in the code-style job
Diffstat (limited to '.circleci/config.yml')
-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 {} \;