stricten clippy
This commit is contained in:
parent
d168c305a0
commit
768a1cf7bd
1 changed files with 4 additions and 4 deletions
8
.github/workflows/rust-clippy.yml
vendored
8
.github/workflows/rust-clippy.yml
vendored
|
@ -2,9 +2,9 @@ name: rust-clippy analyze
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "master" ]
|
branches: ["master"]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "master" ]
|
branches: ["master"]
|
||||||
jobs:
|
jobs:
|
||||||
rust-clippy-analyze:
|
rust-clippy-analyze:
|
||||||
name: Run rust-clippy analyzing
|
name: Run rust-clippy analyzing
|
||||||
|
@ -28,10 +28,10 @@ jobs:
|
||||||
run: cargo install clippy-sarif sarif-fmt
|
run: cargo install clippy-sarif sarif-fmt
|
||||||
|
|
||||||
- name: Run rust-clippy
|
- name: Run rust-clippy
|
||||||
run:
|
run: cargo clippy
|
||||||
cargo clippy
|
|
||||||
--all-features
|
--all-features
|
||||||
--message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
|
--message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
|
||||||
|
-D warnings
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Upload analysis results to GitHub
|
- name: Upload analysis results to GitHub
|
||||||
|
|
Loading…
Reference in a new issue