Disable Go module cache in CI to avoid 4m+ timeout
build-and-push / test (push) Successful in 41s
build-and-push / build-and-push (push) Successful in 1m22s

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:
2026-05-03 21:44:12 -04:00
parent a12755522f
commit 4dcd1f943b
+1
View File
@@ -15,6 +15,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: '1.23'
cache: false
- name: Run tests
run: go test ./...
- name: Vet