Skip to content

Commit

Permalink
Fix sarif-rs entries in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasZepper committed Apr 15, 2024
1 parent cd6b7b2 commit c745fe3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Build umi-transfer

on:
pull_request:
branches:
- main

workflow_dispatch:

release:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,15 @@ jobs:
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy,clippy-sarif,sarif-fmt
components: clippy

- name: Install sarif-rs
run: cargo install sarif-fmt clippy-sarif

- name: Cache Rust toolchain
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2

- name: Test Libraries
- name: Test Libraries and pretty-print output
run: cargo clippy --all-targets --message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
continue-on-error: true

Expand Down

0 comments on commit c745fe3

Please sign in to comment.