Skip to content

Commit dc64ea9

Browse files
committed
GitHub: remove duplicate caching
Turns out that actions/setup-go starting with @v4 also adds caching. With that, our cache size on disk has almost doubled, leading to the GitHub runner running out of space in certain situation. We fix that by disabling the automated caching since we already have our own, custom-tailored version.
1 parent 0e87863 commit dc64ea9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/setup-go/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ runs:
2222
uses: actions/setup-go@v5
2323
with:
2424
go-version: '${{ inputs.go-version }}'
25+
cache: 'false'
2526

2627
- name: go cache
2728
if: ${{ inputs.use-build-cache == 'yes' }}
@@ -44,7 +45,7 @@ runs:
4445
4546
- name: go module cache
4647
if: ${{ inputs.use-build-cache == 'no' }}
47-
uses: actions/cache@v3
48+
uses: actions/cache@v4
4849
with:
4950
# Just the module download cache.
5051
path: |

0 commit comments

Comments
 (0)