From a8b9a93048d96987e39e5c3ce6b207e1d9ba516d Mon Sep 17 00:00:00 2001 From: LDprg <71488985+LDprg@users.noreply.github.com> Date: Thu, 13 Jul 2023 15:13:09 +0200 Subject: [PATCH] Update rust-clippy.yml --- .github/workflows/rust-clippy.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/rust-clippy.yml b/.github/workflows/rust-clippy.yml index 9cde16b..1e6a866 100644 --- a/.github/workflows/rust-clippy.yml +++ b/.github/workflows/rust-clippy.yml @@ -22,21 +22,14 @@ jobs: rust-clippy-analyze: name: Run rust-clippy analyzing runs-on: ubuntu-latest + permissions: contents: read security-events: write - actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status + steps: - name: Checkout code - uses: actions/checkout@v2 - - - name: Install Rust toolchain - uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #@v1 - with: - profile: minimal - toolchain: stable - components: clippy - override: true + uses: actions/checkout@v3 - name: Install required cargo run: cargo install clippy-sarif sarif-fmt