From bb1bb22b50e811ee4174c4b4aba4c9c6ed9e6592 Mon Sep 17 00:00:00 2001 From: Petr Heinz Date: Tue, 6 Oct 2026 15:19:23 +0200 Subject: [PATCH] [CI] Skip the Go build cache in the Publish job The Publish job sets up Go without checking out the repository, so setup-go's cache step warned on every run that it found no go.mod. The job only runs `go list -m` against the proxy and has nothing to cache. Co-Authored-By: Claude Fable 5.1 --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 90e2cbe..ad51923 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -223,6 +223,7 @@ jobs: uses: actions/setup-go@v7 with: go-version: stable + cache: false # nothing is checked out here, so there is no go.mod to key a cache on # Asking the proxy for the version makes it fetch the tag from GitHub, record it in the # checksum database and hand it to pkg.go.dev, so `go get` works right away for everybody.