mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
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:
parent
0e87863481
commit
dc64ea97a2
1 changed files with 2 additions and 1 deletions
3
.github/actions/setup-go/action.yml
vendored
3
.github/actions/setup-go/action.yml
vendored
|
@ -22,6 +22,7 @@ runs:
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '${{ inputs.go-version }}'
|
go-version: '${{ inputs.go-version }}'
|
||||||
|
cache: 'false'
|
||||||
|
|
||||||
- name: go cache
|
- name: go cache
|
||||||
if: ${{ inputs.use-build-cache == 'yes' }}
|
if: ${{ inputs.use-build-cache == 'yes' }}
|
||||||
|
@ -44,7 +45,7 @@ runs:
|
||||||
|
|
||||||
- name: go module cache
|
- name: go module cache
|
||||||
if: ${{ inputs.use-build-cache == 'no' }}
|
if: ${{ inputs.use-build-cache == 'no' }}
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
# Just the module download cache.
|
# Just the module download cache.
|
||||||
path: |
|
path: |
|
||||||
|
|
Loading…
Add table
Reference in a new issue