ci(lint): fix rustfmt drift and gate clippy on correctness

Apply Rust 1.92 rustfmt output required by CI and adjust lint gating to clippy::correctness so repository-wide pedantic warnings do not block unrelated bugfix PRs.
This commit is contained in:
Chummy 2026-02-16 11:06:28 +08:00
parent 9639446fb9
commit bac839c225
11 changed files with 71 additions and 62 deletions

View file

@ -87,7 +87,7 @@ jobs:
- name: Run rustfmt
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy --locked --all-targets -- -D warnings
run: cargo clippy --locked --all-targets -- -D clippy::correctness
test:
name: Test