run clippy on the MSRV
This commit is contained in:
7
.github/workflows/checks.yml
vendored
7
.github/workflows/checks.yml
vendored
@@ -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
|
||||||
|
|||||||
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user