Skip to content

Commit

Permalink
Added static analyzis step for workflow (clippy)
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchyn authored Sep 2, 2022
1 parent 158d09f commit 6dee9c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ jobs:

steps:
- uses: actions/checkout@v3
- run: rustup component add clippy
- name: Build
run: cargo build --verbose
- name: Static analyzis
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- name: Run tests
run: cargo test --verbose

0 comments on commit 6dee9c4

Please sign in to comment.