fail on clippy warnings

This commit is contained in:
Stephan Dilly 2020-03-27 00:50:02 +01:00
parent 33e9013b72
commit bc908ee049
4 changed files with 5 additions and 2 deletions

View file

@ -23,4 +23,4 @@ jobs:
- name: Run tests
run: cargo test --workspace -- --test-threads=1
- name: Run clippy
run: cargo clean && cargo clippy
run: cargo clean && cargo clippy --all-features

View file

@ -7,7 +7,7 @@ test:
clippy:
cargo clean
cargo clippy --all-targets --all-features -- -D warnings
cargo clippy --all-features
install:
cargo install --path "."

View file

@ -2,6 +2,8 @@
#![forbid(unsafe_code)]
#![forbid(missing_docs)]
#![deny(clippy::all)]
#![warn(clippy::pedantic)]
mod diff;
mod status;

View file

@ -1,4 +1,5 @@
#![deny(clippy::all)]
#![warn(clippy::pedantic)]
mod app;
mod components;