ci: enable Clippy warnings as errors in linting step

- Updated the Clippy command in both `ci.ps1` and `ci.sh` to include the `-D warnings` flag, ensuring that all warnings are treated as errors during the linting process. This change enhances code quality by enforcing stricter linting rules.
This commit is contained in:
Joe 2026-03-12 21:02:31 -05:00
parent 7289f51e83
commit 3c87b408cc
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ Record-Result "Selene" $selene
Write-Step 6 "Rust Linting (Clippy) - Auto-fix"
cargo clippy -j $BuildThreads --fix --allow-dirty --allow-staged 2>&1 | Out-Null
Write-Host "Verifying..." -ForegroundColor Yellow
cargo clippy -j $BuildThreads --all-targets --all-features 2>&1
cargo clippy -j $BuildThreads --all-targets --all-features -- -D warnings 2>&1
$clippy = $LASTEXITCODE
Record-Result "Clippy" $clippy