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