run clippy on the MSRV

This commit is contained in:
Dustin J. Mitchell 2021-09-05 21:57:34 +00:00
parent 72b4941485
commit 91b2e1164f
2 changed files with 9 additions and 1 deletions

View file

@ -27,6 +27,13 @@ jobs:
path: target path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- uses: actions-rs/toolchain@v1
with:
# Fixed version for clippy lints. Bump this as necesary. It must not
# be older than the MSRV in tests.yml.
toolchain: "1.54"
override: true
- uses: actions-rs/cargo@v1.0.1 - uses: actions-rs/cargo@v1.0.1
with: with:
command: check command: check

View file

@ -12,7 +12,8 @@ jobs:
strategy: strategy:
matrix: matrix:
rust: rust:
- "1.47" # MSRV # MSRV; most not be higher than the clippy rust version in checks.yml
- "1.47"
- "stable" - "stable"
os: os:
- ubuntu-latest - ubuntu-latest