ci: disable setup-go cache to skip 4m Gitea cache server timeout
The action tries to restore from 172.18.0.2:36061 (Gitea's cache server), times out, falls through to a fresh download anyway. Pure waste since the runner already has the toolchain in /opt/hostedtoolcache. Turn cache off. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
|||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "1.26.x"
|
go-version: "1.26.x"
|
||||||
cache: true
|
cache: false
|
||||||
|
|
||||||
- name: Install templ
|
- name: Install templ
|
||||||
run: go install github.com/a-h/templ/cmd/templ@v0.3.1001
|
run: go install github.com/a-h/templ/cmd/templ@v0.3.1001
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "1.26.x"
|
go-version: "1.26.x"
|
||||||
cache: true
|
cache: false
|
||||||
|
|
||||||
- name: Install live-image build dependencies
|
- name: Install live-image build dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "1.26.x"
|
go-version: "1.26.x"
|
||||||
cache: true
|
cache: false
|
||||||
|
|
||||||
- name: Install live-image build dependencies
|
- name: Install live-image build dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user