From 5dfa2ec8fefeac915c08ce3b9c76baf0f40592e6 Mon Sep 17 00:00:00 2001 From: Maxwell Koo Date: Wed, 21 Jul 2021 23:36:37 -0600 Subject: [PATCH] Add two clippy steps to work around https://github.com/actions-rs/clippy-check/issues/82 --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b0c36d..5f53ea0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,10 +22,16 @@ jobs: - uses: actions-rs/cargo@v1 with: command: check - - uses: actions-rs/clippy-check@v1 + - name: Generate clippy annotations + uses: actions-rs/clippy-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} - args: --all-features -- -D warnings + args: --all-targets --all-features + - name: Fail on clippy warnings + uses: actions-rs/clippy-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + args: --all-targets --all-features -- -D warnings - uses: actions-rs/cargo@v1 with: command: fmt