Skip to content

Commit b79d603

Browse files
committed
chore: Do not pin go patch level
When reading golang/go#62278 (comment) I noticed that this is only recommended for development versions which are not released yet. This is no longer valid, by default the recommendation is to not use the patch level. If you need to pin to a explicit version, toolchain should be used since 1.21 instead, like `toolchain go1.24.3`. Setting just `go 1.24` will avoid failures if developers do not install the latest patch level yet, but allow the build to pick the most recent patch level.
1 parent fea2db0 commit b79d603

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

go.mod

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
module github.com/instana/instana-agent-operator
22

3-
// use full version x.y.z
4-
// see https://github.com/instana/instana-agent-operator/pull/218
5-
// and https://github.com/golang/go/issues/62278#issuecomment-1693538776
6-
go 1.24.0
3+
go 1.24
74

85
require (
96
github.com/Masterminds/goutils v1.1.1

0 commit comments

Comments
 (0)