build.yml: clippy: turn warnings into errors

Otherwise we'll never know.
This commit is contained in:
Zhiming Wang 2020-08-01 21:59:27 +08:00
parent 0a029316af
commit a5a897f42f
No known key found for this signature in database
GPG Key ID: 5B58F95EC95965D8

View File

@ -45,7 +45,7 @@ jobs:
cargo test --no-default-features --features $FEATURES
- name: Lint
run: |
cargo clippy --no-default-features --features $FEATURES
cargo clippy --no-default-features --features $FEATURES -- -D warnings
- name: Check format
run: |
cargo fmt -- --check