Skip to content

Commit

Permalink
Add two clippy steps to work around actions-rs/clippy-check#82
Browse files Browse the repository at this point in the history
  • Loading branch information
mjkoo committed Jul 22, 2021
1 parent 0c38477 commit 5dfa2ec
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5dfa2ec

Please sign in to comment.