Skip to content

Commit 05489fc

Browse files
committed
fix(mise): disable GitHub cache save to prevent wasteful uploads
The mise-action has two cache options: - cache: false (don't restore from cache) - cache_save: true (default - still save to cache) With only `cache: false`, mise was still uploading ~800MB caches to GitHub Actions cache on every run, creating duplicate entries per ref that are never restored (since cache: false). This adds `cache_save: false` to all workflows using mise with `cache: false`, preventing wasteful cache uploads. Affected workflows: - _checks-expo.yaml - _checks-links.yaml - _checks-playwright.yaml - _checks-rs.yaml - _checks-ts.yaml - _gen_proto.yaml - _publish-npm.yaml - _pulumi-wif.yaml Note: Projects using S3/sccache for caching don't benefit from GitHub Actions cache for mise, making these uploads pure waste.
1 parent dfc21b4 commit 05489fc

8 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/_checks-expo.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ jobs:
154154
with:
155155
install: true
156156
cache: false
157+
cache_save: false
157158

158159
- name: Detect package manager
159160
id: pm

.github/workflows/_checks-links.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ jobs:
111111
with:
112112
install: true
113113
cache: false
114+
cache_save: false
114115

115116
- name: Run ci_postinstall
116117
run: |

.github/workflows/_checks-playwright.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ jobs:
337337
with:
338338
install: true
339339
cache: false
340+
cache_save: false
340341
working_directory: ${{ inputs.working_directory }}
341342

342343
- name: Detect package manager

.github/workflows/_checks-rs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ jobs:
283283
with:
284284
install: true
285285
cache: false
286+
cache_save: false
286287
working_directory: ${{ inputs.package_path }}
287288

288289
- name: Run ci_postinstall

.github/workflows/_checks-ts.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ jobs:
202202
with:
203203
install: true
204204
cache: false
205+
cache_save: false
205206

206207
- name: Detect package manager
207208
id: pm

.github/workflows/_gen_proto.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
with:
5656
install: true
5757
cache: false
58+
cache_save: false
5859

5960
- name: Run ci_postinstall
6061
run: |

.github/workflows/_publish-npm.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
with:
6464
install: true
6565
cache: false
66+
cache_save: false
6667

6768
- name: Run ci_postinstall
6869
run: |

.github/workflows/_pulumi-wif.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ jobs:
125125
with:
126126
install: true
127127
cache: false
128+
cache_save: false
128129

129130
- name: Run ci_postinstall
130131
run: |

0 commit comments

Comments
 (0)