Skip to content

Commit 91946bc

Browse files
Remove sccache to reduce github actions cache churn (#5641)
# Description of Changes Removing `sccache` from CI workflows since it's churning the github actions cache. This is causing us to evict the much higher value `rust-cache` entries quite frequently. This is part of the work to break up #5612 into smaller reviewable chunks. # API and ABI breaking changes None # Expected complexity level and risk 1 # Testing N/A
1 parent bf85516 commit 91946bc

2 files changed

Lines changed: 0 additions & 26 deletions

File tree

.github/actions/keynote-bench-setup/action.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,6 @@ runs:
1919
shell: bash
2020
run: rustup default $(rustup show active-toolchain | cut -d' ' -f1)
2121

22-
- name: Set up sccache
23-
uses: mozilla-actions/sccache-action@v0.0.10
24-
25-
- name: Enable sccache
26-
shell: bash
27-
run: |
28-
echo "SCCACHE_GHA_ENABLED=true" >>"$GITHUB_ENV"
29-
echo "RUSTC_WRAPPER=sccache" >>"$GITHUB_ENV"
30-
3122
- name: Cache Rust dependencies
3223
uses: Swatinem/rust-cache@v2
3324
with:

.github/workflows/ci.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,6 @@ jobs:
110110
- name: Set default rust toolchain
111111
run: rustup default $(rustup show active-toolchain | cut -d' ' -f1)
112112

113-
- name: Set up sccache
114-
uses: mozilla-actions/sccache-action@v0.0.10
115-
116-
- name: Enable sccache
117-
shell: bash
118-
run: |
119-
echo "SCCACHE_GHA_ENABLED=true" >>"$GITHUB_ENV"
120-
echo "RUSTC_WRAPPER=sccache" >>"$GITHUB_ENV"
121-
122113
- name: Cache Rust dependencies
123114
uses: Swatinem/rust-cache@v2
124115
with:
@@ -451,14 +442,6 @@ jobs:
451442
- name: Set default rust toolchain
452443
run: rustup default $(rustup show active-toolchain | cut -d' ' -f1)
453444

454-
- name: Set up sccache
455-
uses: mozilla-actions/sccache-action@v0.0.10
456-
457-
- name: Enable sccache
458-
run: |
459-
echo "SCCACHE_GHA_ENABLED=true" >>"$GITHUB_ENV"
460-
echo "RUSTC_WRAPPER=sccache" >>"$GITHUB_ENV"
461-
462445
- name: Cache Rust dependencies
463446
uses: Swatinem/rust-cache@v2
464447
with:

0 commit comments

Comments
 (0)