Skip to content

Commit d5c5a91

Browse files
authored
Merge pull request #11 from wechat-miniprogram/build-force-clippy-warnings
build: force clippy failing on warnings on github actions
2 parents e573fa2 + 9439813 commit d5c5a91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
- name: Run tests
2424
run: cargo test --verbose
2525
- name: Clippy
26-
run: cargo clippy
26+
run: cargo clippy -- -D warnings
2727
- name: Clippy on no-default-features
28-
run: cargo clippy --no-default-features
28+
run: cargo clippy --no-default-features -- -D warnings
2929
- name: Clippy on all-features
30-
run: cargo clippy --all-features
30+
run: cargo clippy --all-features -- -D warnings

0 commit comments

Comments
 (0)