mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-22 20:23:09 +02:00
run clippy on the MSRV
This commit is contained in:
parent
72b4941485
commit
91b2e1164f
2 changed files with 9 additions and 1 deletions
7
.github/workflows/checks.yml
vendored
7
.github/workflows/checks.yml
vendored
|
@ -27,6 +27,13 @@ jobs:
|
|||
path: target
|
||||
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
|
||||
with:
|
||||
command: check
|
||||
|
|
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
|
@ -12,7 +12,8 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
rust:
|
||||
- "1.47" # MSRV
|
||||
# MSRV; most not be higher than the clippy rust version in checks.yml
|
||||
- "1.47"
|
||||
- "stable"
|
||||
os:
|
||||
- ubuntu-latest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue