From 7f75fa74e7a813bed4517e00120dbfa7923c5dee Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Sun, 15 May 2022 11:21:07 +0900 Subject: [PATCH] Add fmt and clippy on CI --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8e723f88..f3620b26 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -63,6 +63,7 @@ commands: type: boolean default: false steps: + - run: rustup component add clippy --toolchain nightly-2022-01-27-x86_64-unknown-linux-gnu - run: cargo clippy <<^parameters.no_feature>>--no-default-features --features="${FEATURES}"<> --release -p <> -- -D warnings run_with_coverage: @@ -111,6 +112,7 @@ jobs: name: default steps: - restore_env + - run: rustup component add rustfmt --toolchain nightly-2022-01-27-x86_64-unknown-linux-gnu - run: cargo fmt --all -- --check clippy: