actions: use nightly clippy

Doing this alongside nightly fmt makes sense to me, anyway.
pull/239/head
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
1 changed files with 6 additions and 6 deletions

View File

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