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:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
branches: ["master"]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
branches: ["master"]
|
||||
jobs:
|
||||
rust-clippy-analyze:
|
||||
name: Run rust-clippy analyzing
|
||||
|
@ -28,10 +28,10 @@ jobs:
|
|||
run: cargo install clippy-sarif sarif-fmt
|
||||
|
||||
- name: Run rust-clippy
|
||||
run:
|
||||
cargo clippy
|
||||
run: cargo clippy
|
||||
--all-features
|
||||
--message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
|
||||
-D warnings
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload analysis results to GitHub
|
||||
|
|
Loading…
Reference in a new issue