From a74dbe875331337f4f41ff7d369c8b30dab89d6d Mon Sep 17 00:00:00 2001 From: Andrew Nesbitt Date: Thu, 1 Oct 2026 19:21:00 +0100 Subject: [PATCH] Disable Go module cache in goreleaser check job The job only runs goreleaser check, which validates .goreleaser.yaml and builds nothing, so the cache saves no time while leaving the module cache writable from a job running goreleaser-action. release.yml already passes cache: false. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e788272..a87c5c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,6 +62,7 @@ jobs: uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version-file: go.mod + cache: false - name: goreleaser check uses: goreleaser/goreleaser-action@f06c13b6b1a9625abc9e6e439d9c05a8f2190e94 # v7.2.3