From f0fe19674c68b176d800a094f45a059062d8ef6b Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Sat, 24 Sep 2022 12:55:06 +0900 Subject: [PATCH] actions: use nightly clippy Doing this alongside nightly fmt makes sense to me, anyway. --- .github/workflows/rust.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2e75588..4f3a350 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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