mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
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:
parent
7289f51e83
commit
3c87b408cc
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue