Skip to content

Commit

Permalink
Update static_analysis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
f33r0 authored Oct 16, 2024
1 parent e9ba2b1 commit 80bb5ff
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,11 @@ jobs:
# 20GB of cache per repo per week
cache-provider: "buildjet"

- name: Install Rust toolchain
uses: taiki-e/install-action@v1
# v2.20.16
- name: cargo install
uses: taiki-e/install-action@ac89944b5b150d78567ab6c02badfbe48b0b55aa
with:
toolchain: stable
components: rustfmt, clippy
target: x86_64-unknown-linux-gnu # Specify the target you want to use
override: true

# # v2.20.16
# - name: cargo install
# uses: taiki-e/install-action@ac89944b5b150d78567ab6c02badfbe48b0b55aa
# with:
# tool: clippy-sarif, sarif-fmt
tool: clippy-sarif, sarif-fmt

- name: cargo fmt
run: cargo fmt --check
Expand Down

0 comments on commit 80bb5ff

Please sign in to comment.