mirror of
https://github.com/crate-ci/typos.git
synced 2026-11-29 08:17:46 +01:00
chore(ci): Leverage CARGO_BUILD_WARNINGS
This commit is contained in:
1 parent
0da98536e0
commit
9e6f6e7745
1 file changed
+4
-2
@@ -137,7 +137,7 @@ jobs:
|
||||
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
|
||||
- name: Check documentation
|
||||
env:
|
||||
RUSTDOCFLAGS: -D warnings
|
||||
CARGO_BUILD_WARNINGS: deny
|
||||
run: cargo doc --workspace --all-features --no-deps --document-private-items --keep-going
|
||||
rustfmt:
|
||||
name: rustfmt
|
||||
@@ -190,7 +190,9 @@ jobs:
|
||||
sarif_file: clippy-results.sarif
|
||||
wait-for-processing: true
|
||||
- name: Report status
|
||||
run: cargo clippy --workspace --all-features --all-targets --keep-going -- -D warnings --allow deprecated
|
||||
env:
|
||||
CARGO_BUILD_WARNINGS: deny
|
||||
run: cargo clippy --workspace --all-features --all-targets --keep-going -- --allow deprecated
|
||||
coverage:
|
||||
name: Coverage
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in new issue
Block a user