Skip to content

Commit 45334b3

Browse files
committed
ci: disable setup-go cache on release runs
Release jobs publish artifacts and run on tag pushes, so a poisoned Go module cache restored from an earlier run could influence what gets shipped. Disable caching on actions/setup-go in the release workflow; CI test runs keep caching enabled.
1 parent a105db7 commit 45334b3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- uses: actions/setup-go@v5
2121
with:
2222
go-version: '1.22'
23+
cache: false
2324

2425
- uses: goreleaser/goreleaser-action@v6
2526
with:

0 commit comments

Comments
 (0)