actions: use nightly clippy

Doing this alongside nightly fmt makes sense to me, anyway.
This commit is contained in:
Jake McGinty 2022-09-24 12:55:06 +09:00 committed by GitHub
parent b39b77aa5a
commit f0fe19674c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,13 +46,8 @@ jobs:
with:
command: test
args: --features v6-test --verbose
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- -D warnings
fmt:
fmt-and-clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -67,3 +62,8 @@ jobs:
with:
command: fmt
args: --all -- --check
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- -D warnings