diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fde37eb3..4254d434 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/Makefile b/Makefile index 4e61f3a9..9a1eabf3 100644 --- a/Makefile +++ b/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 "." diff --git a/asyncgit/src/lib.rs b/asyncgit/src/lib.rs index f5e9bb9a..85b0ba10 100644 --- a/asyncgit/src/lib.rs +++ b/asyncgit/src/lib.rs @@ -2,6 +2,8 @@ #![forbid(unsafe_code)] #![forbid(missing_docs)] +#![deny(clippy::all)] +#![warn(clippy::pedantic)] mod diff; mod status; diff --git a/src/main.rs b/src/main.rs index d6df0044..fed216cf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,5 @@ #![deny(clippy::all)] +#![warn(clippy::pedantic)] mod app; mod components;