diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 64c092a4..a873a3f9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -83,6 +83,7 @@ jobs: - uses: actions/checkout@v4 - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} - uses: Swatinem/rust-cache@v2 + - run: cargo install clippy-sarif - 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