Skip to content

Commit

Permalink
add sccache to clippy CI (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAlgorythm committed Oct 18, 2023
1 parent 02c5326 commit 2713634
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
rust-clippy-analyze:
name: Run rust-clippy analyzing
runs-on: ubuntu-latest
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
permissions:
contents: read
security-events: write
Expand All @@ -26,6 +29,8 @@ jobs:
toolchain: stable
components: clippy
override: true
- name: Sccache Action
uses: Mozilla-Actions/[email protected]

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

0 comments on commit 2713634

Please sign in to comment.