From 72dfc52ec041f4368a00aa9a27305f777ec710d8 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Sun, 27 Mar 2022 11:27:01 -0700 Subject: [PATCH] fix(ci): clippy before nightly ring regression fixes #1078 --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58ab6a3a..652586c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -115,7 +115,8 @@ jobs: - name: Install toolchain uses: actions-rs/toolchain@v1 with: - toolchain: nightly + # nightly regression https://github.com/rust-lang/rust/issues/95267 + toolchain: nightly-2022-03-20 profile: minimal components: rustfmt, clippy override: true @@ -123,9 +124,9 @@ jobs: with: cache-on-failure: true - name: cargo fmt - run: cargo +nightly fmt --all -- --check + run: cargo +nightly-2022-03-20 fmt --all -- --check - name: cargo clippy - run: cargo +nightly clippy --all-features -- -D warnings + run: cargo +nightly-2022-03-20 clippy --all --all-features -- -D warnings wasm: name: WASM