CI: Use Rust 1.54 for lints

This commit is contained in:
Jack Grigg 2021-07-30 18:36:42 +01:00
parent 5ace59b38f
commit 73a33efa43
1 changed files with 4 additions and 4 deletions

View File

@ -54,19 +54,19 @@ jobs:
if: always()
rust-clippy:
name: Clippy (1.51.0)
name: Clippy (1.54.0)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.54.0
components: clippy
override: true
- name: Run clippy
uses: actions-rs/clippy-check@v1
with:
name: Clippy (1.51.0)
name: Clippy (1.54.0)
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets -- -D warnings
@ -77,7 +77,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.51.0
toolchain: 1.54.0
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1