Skip to content

Commit

Permalink
cache cargo install in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAlgorythm authored Oct 25, 2023
1 parent f2aabc5 commit 8cda296
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,20 @@ jobs:
toolchain: stable
components: clippy
override: true

- name: Install clippy-sarif
uses: baptiste0928/[email protected]
with:
crate: clippy-sarif

- name: Install sarif-fmt
uses: baptiste0928/[email protected]
with:
crate: sarif-fmt

- name: Sccache Action
uses: Mozilla-Actions/[email protected]

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

- name: Run rust-clippy
run:
Expand Down

0 comments on commit 8cda296

Please sign in to comment.