CI/CD: Also lint with the stable channel's clippy.

This commit is contained in:
Brian Smith 2020-12-03 16:13:15 -08:00
parent b9d7d089d9
commit ad4f6c9153

View File

@ -24,16 +24,23 @@ jobs:
runs-on: ubuntu-18.04
strategy:
matrix:
rust_channel:
# MSRV
- 1.37.0
- stable
steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.37.0
toolchain: ${{ matrix.rust_channel }}
profile: minimal
components: clippy
- uses: actions/checkout@v2
- run: cargo +1.37.0 clippy --all-features ---all-targets -- --deny warnings
- run: cargo +${{ matrix.rust_channel }} clippy --all-features ---all-targets -- --deny warnings
audit:
# Don't run duplicate `push` jobs for the repo owner's PRs.