Skip to content

Commit 6c208b6

Browse files
committed
add clippy flags
1 parent 359e28a commit 6c208b6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/check.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ jobs:
6262
- name: cargo clippy
6363
uses: giraffate/clippy-action@v1
6464
with:
65-
reporter: 'github-pr-check'
6665
github_token: ${{ secrets.GITHUB_TOKEN }}
66+
reporter: 'github-pr-check'
67+
fail_on_error: true
68+
clippy_flags: --locked --all-targets -- -D warnings
6769
doc:
6870
# run docs generation on nightly rather than stable. This enables features like
6971
# https://doc.rust-lang.org/beta/unstable-book/language-features/doc-cfg.html which allows an
@@ -115,4 +117,4 @@ jobs:
115117
with:
116118
toolchain: ${{ matrix.msrv }}
117119
- name: cargo +${{ matrix.msrv }} check
118-
run: cargo check
120+
run: cargo check

0 commit comments

Comments
 (0)