mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 00:48:35 +00:00
fail on clippy warnings
This commit is contained in:
parent
33e9013b72
commit
bc908ee049
4 changed files with 5 additions and 2 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -7,7 +7,7 @@ test:
|
|||
|
||||
clippy:
|
||||
cargo clean
|
||||
cargo clippy --all-targets --all-features -- -D warnings
|
||||
cargo clippy --all-features
|
||||
|
||||
install:
|
||||
cargo install --path "."
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
#![forbid(unsafe_code)]
|
||||
#![forbid(missing_docs)]
|
||||
#![deny(clippy::all)]
|
||||
#![warn(clippy::pedantic)]
|
||||
|
||||
mod diff;
|
||||
mod status;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#![deny(clippy::all)]
|
||||
#![warn(clippy::pedantic)]
|
||||
|
||||
mod app;
|
||||
mod components;
|
||||
|
|
|
|||
Loading…
Reference in a new issue