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.
This commit is contained in:
Oliver Gugger 2025-02-20 18:14:29 +01:00
parent 0e87863481
commit dc64ea97a2
No known key found for this signature in database
GPG key ID: 8E4256593F177720

View file

@ -22,6 +22,7 @@ runs:
uses: actions/setup-go@v5
with:
go-version: '${{ inputs.go-version }}'
cache: 'false'
- name: go cache
if: ${{ inputs.use-build-cache == 'yes' }}
@ -44,7 +45,7 @@ runs:
- name: go module cache
if: ${{ inputs.use-build-cache == 'no' }}
uses: actions/cache@v3
uses: actions/cache@v4
with:
# Just the module download cache.
path: |