fix(ci): clippy before nightly ring regression

fixes #1078
This commit is contained in:
Georgios Konstantopoulos 2022-03-27 11:27:01 -07:00
parent 2689981782
commit 72dfc52ec0
1 changed files with 4 additions and 3 deletions

View File

@ -115,7 +115,8 @@ jobs:
- name: Install toolchain - name: Install toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
toolchain: nightly # nightly regression https://github.com/rust-lang/rust/issues/95267
toolchain: nightly-2022-03-20
profile: minimal profile: minimal
components: rustfmt, clippy components: rustfmt, clippy
override: true override: true
@ -123,9 +124,9 @@ jobs:
with: with:
cache-on-failure: true cache-on-failure: true
- name: cargo fmt - name: cargo fmt
run: cargo +nightly fmt --all -- --check run: cargo +nightly-2022-03-20 fmt --all -- --check
- name: cargo clippy - name: cargo clippy
run: cargo +nightly clippy --all-features -- -D warnings run: cargo +nightly-2022-03-20 clippy --all --all-features -- -D warnings
wasm: wasm:
name: WASM name: WASM