Skip to content

Commit fb21386

Browse files
authored
actions: Improve clippy handling (#40)
Switch to wrapping clippy so the annotations come nicely into the review flow even if the job themselves itself doesn't fail. I ended up going with `clechasseur/rs-clippy-check` as that seems the most well-maintained fork of `actions-rs/clippy-check`
2 parents feb268e + 1aff4c6 commit fb21386

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ jobs:
5151
with:
5252
toolchain: "1.86"
5353
components: clippy
54-
- run: cargo clippy --all-targets --all-features -- -D warnings
54+
- uses: clechasseur/[email protected]
55+
with:
56+
args: --all-targets --all-features -- -D warnings
5557

5658
clippy-latest:
5759
name: cargo clippy latest
@@ -62,7 +64,9 @@ jobs:
6264
- uses: dtolnay/rust-toolchain@stable
6365
with:
6466
components: clippy
65-
- run: cargo clippy --all-targets --all-features -- -D warnings
67+
- uses: clechasseur/[email protected]
68+
with:
69+
args: --all-targets --all-features
6670

6771
minimal-dependencies:
6872
name: minimal direct dependencies

0 commit comments

Comments
 (0)