Skip to content

Commit cc01cae

Browse files
committed
also cache clippy lmao
1 parent a1076b8 commit cc01cae

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/clippy.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ on:
1515
schedule:
1616
- cron: '39 6 * * 6'
1717

18+
19+
env:
20+
CARGO_TERM_COLOR: always
21+
SCCACHE_GHA_ENABLED: "true"
22+
RUSTC_WRAPPER: "sccache"
23+
1824
jobs:
1925
rust-clippy-analyze:
2026
name: Run rust-clippy analyzing
@@ -35,6 +41,12 @@ jobs:
3541
components: clippy
3642
override: true
3743

44+
45+
- uses: rui314/setup-mold@v1
46+
- name: Run sccache-cache
47+
uses: mozilla-actions/sccache-action@v0.0.9
48+
49+
3850
- name: Install required cargo
3951
run: cargo install clippy-sarif sarif-fmt
4052

0 commit comments

Comments
 (0)