Skip to content

Commit

Permalink
add clippy lint CI target
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleades committed May 1, 2022
1 parent 981785c commit 260ec64
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,20 @@ jobs:

- name: Execute tests for all crates in the workspace
run: cargo test --all

clippy:
name: Lint code
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v3

- uses: actions-rs/toolchain@v1
with:
profile: minimal
components: clippy

- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets

0 comments on commit 260ec64

Please sign in to comment.