Skip to content

Commit

Permalink
Alternate clippy deny check
Browse files Browse the repository at this point in the history
  • Loading branch information
MolotovCherry committed Jul 7, 2024
1 parent 3a82365 commit ba50b20
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Clippy

on:
workflow_dispatch:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

Expand All @@ -26,10 +28,5 @@ jobs:
run: rustup component add clippy

- name: Clippy
uses: giraffate/clippy-action@v1
with:
reporter: 'github-pr-review'
github_token: ${{ secrets.GITHUB_TOKEN }}
clippy_flags: --locked -- -Dwarnings
filter_mode: nofilter
fail_on_error: true
working-directory: rust
run: cargo clippy --all-features --verbose -- --deny warnings

0 comments on commit ba50b20

Please sign in to comment.