Disable Go module cache in CI to avoid 4m+ timeout
Gitea's cache server is unreachable, causing setup-go to block on a failed cache restore. Disable it since the Docker build layer caches dependencies independently. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -15,6 +15,7 @@ jobs:
|
|||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.23'
|
go-version: '1.23'
|
||||||
|
cache: false
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: go test ./...
|
run: go test ./...
|
||||||
- name: Vet
|
- name: Vet
|
||||||
|
|||||||
Reference in New Issue
Block a user