chore: Make sure clippy checks entire workspace

This commit is contained in:
Gerald Pinder 2025-01-29 15:49:01 -05:00
parent b41ba22a02
commit 276fcb1468
2 changed files with 7 additions and 7 deletions

View file

@ -35,11 +35,11 @@ prebuild:
lint: lint:
FROM +common FROM +common
RUN cargo fmt --check RUN cargo fmt --all --check
DO rust+CARGO --args="clippy" DO rust+CARGO --args="clippy --workspace"
DO rust+CARGO --args="clippy --all-features" DO rust+CARGO --args="clippy --workspace --all-features"
DO rust+CARGO --args="clippy --no-default-features" DO rust+CARGO --args="clippy --workspace --no-default-features"
DO +EACH_PACKAGE --args="clippy --no-default-features" DO +EACH_PACKAGE --args="clippy --workspace --no-default-features"
test: test:
FROM +common FROM +common

View file

@ -21,7 +21,7 @@ watch = ["src", "process", "recipe", "template", "utils", "Cargo.toml", "build.r
[jobs.clippy] [jobs.clippy]
command = [ command = [
"cargo", "clippy", "cargo", "clippy", "--workspace",
"--color", "always", "--color", "always",
] ]
need_stdout = false need_stdout = false
@ -30,7 +30,7 @@ watch = ["src", "process", "recipe", "template", "utils", "Cargo.toml", "build.r
[jobs.clippy-all] [jobs.clippy-all]
command = [ command = [
"cargo", "clippy", "cargo", "clippy", "--workspace",
"--all-features", "--all-features",
"--color", "always", "--color", "always",
] ]