Skip to content

Commit da080e5

Browse files
committed
ci: read the go version from go.mod in release.yml too
release.yml kept its own hardcoded go-version, so every tag push died at `go mod download`: go: go.mod requires go >= 1.26.0 (running go 1.25.7; GOTOOLCHAIN=local) The modules themselves published fine — the proxy serves them and consumers resolve them — but the GitHub release job never ran. warden was unaffected purely because its release.yml carried no pin at all. This is the same stale pin in a third workflow location after the shared CI call and the repo's own CI jobs. Every workflow now reads the directive from go.mod via go-version-file, so there is no copy left to drift.
1 parent 4af7e74 commit da080e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Set up Go
4444
uses: actions/setup-go@v6
4545
with:
46-
go-version: "1.25.7"
46+
go-version-file: go.mod
4747
cache: true
4848
cache-dependency-path: go.sum
4949

0 commit comments

Comments
 (0)