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