Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 4fb95ee

Browse files
committed
Forbid clippy::unused_io_amount.
We've had several production bugs because of this one.
1 parent 2324256 commit 4fb95ee

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,16 @@ jobs:
4444
- uses: actions-rs/clippy-check@v1
4545
with:
4646
token: ${{ secrets.GITHUB_TOKEN }}
47-
args: --all-features --all-targets -- -W clippy::wildcard_imports -W clippy::float_cmp -W future_incompatible -W nonstandard_style
47+
args: |
48+
--all-features --all-targets --
49+
-W clippy::wildcard_imports
50+
-W clippy::float_cmp
51+
-W future_incompatible
52+
-W nonstandard_style
53+
-W rust_2018_compatibility
54+
-W rust_2021_compatibility
55+
-F clippy::unused_io_amount
56+
-W unused
4857
- name: Cargo check
4958
run: RUSTFLAGS="-D unused -D warnings" cargo check --all-targets
5059
- name: Run Rust tests

0 commit comments

Comments
 (0)