ci: add Clippy stable check

Currently, `main` has Clippy lint warnings on stable, but not on nightly.
This commit is contained in:
Waleed Khan 2022-02-23 20:14:47 -08:00 committed by Martin von Zweigbergk
parent f9298582a7
commit 38aee9f749

View file

@ -30,7 +30,23 @@ jobs:
env:
RUST_BACKTRACE: 1
clippy:
clippy-stable:
name: Clippy check (stable)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
override: true
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --workspace
clippy-nightly:
name: Clippy check (nightly)
runs-on: ubuntu-latest
steps: