Skip to content

Commit

Permalink
ci(clippy): deny warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
saying121 committed Aug 29, 2024
1 parent 5ca4569 commit a1affa3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,5 @@ jobs:
- name: Rust Cache
uses: Swatinem/rust-cache@v2

- name: Run Clippy Allow Warning
if: ${{ ! (github.ref == 'refs/heads/master' || github.event_name == 'pull_request') }}
run: cargo clippy --locked

- name: Run Clippy Deny Warning
if: github.ref == 'refs/heads/master' || github.event_name == 'pull_request'
run: cargo clippy --locked -- -D warnings
run: cargo clippy --tests --locked -- -D warnings

0 comments on commit a1affa3

Please sign in to comment.