From 61381e6db23357140349459eb42b875aa6661c7d Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Mon, 27 Mar 2023 08:28:26 -0700 Subject: [PATCH] Update CI to nightly fmt and stable clippy --- .circleci/config.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0d8c64240d..2bcc7b83f2 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,7 +53,7 @@ jobs: - run: name: Check style no_output_timeout: 35m - command: cargo fmt --all -- --check + command: cargo +nightly fmt --all -- --check - clear_environment: cache_key: leo-fmt-cache @@ -69,9 +69,8 @@ jobs: name: Clippy no_output_timeout: 35m command: | - rustup toolchain install nightly-x86_64-unknown-linux-gnu - cargo +nightly clippy --workspace --all-targets -- -D warnings - cargo +nightly clippy --workspace --all-targets --all-features -- -D warnings + cargo clippy --workspace --all-targets -- -D warnings + cargo clippy --workspace --all-targets --all-features -- -D warnings - clear_environment: cache_key: leo-clippy-cache