Skip to content

Commit

Permalink
add clippy flags
Browse files Browse the repository at this point in the history
  • Loading branch information
connortsui20 committed Nov 9, 2024
1 parent d15a7e2 commit d2065d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ jobs:
- name: cargo clippy
uses: giraffate/clippy-action@v1
with:
reporter: 'github-pr-check'
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: 'github-pr-check'
fail_on_error: true
clippy_flags: --locked --all-targets -- -D warnings
doc:
# run docs generation on nightly rather than stable. This enables features like
# https://doc.rust-lang.org/beta/unstable-book/language-features/doc-cfg.html which allows an
Expand Down Expand Up @@ -115,4 +117,4 @@ jobs:
with:
toolchain: ${{ matrix.msrv }}
- name: cargo +${{ matrix.msrv }} check
run: cargo check
run: cargo check

0 comments on commit d2065d5

Please sign in to comment.