Skip to content

Commit

Permalink
ci(rust.yml/jobs/clippy): also upload the results when building in re…
Browse files Browse the repository at this point in the history
…lease mode
  • Loading branch information
DataM0del committed Dec 26, 2024
1 parent e95e5ca commit a2ad0b5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,9 @@ jobs:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --release --all-targets --all-features
- run: cargo clippy --release --all-targets --all-features --message-format=json | clippy-sarif | tee results.sarif
- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v3
if: success() || failure()
with:
sarif_file: results.sarif

0 comments on commit a2ad0b5

Please sign in to comment.