Skip to content

Commit 83acdfe

Browse files
committed
feat(build): set go version in Makefile
This commit explicitly sets the version of the go compiler, to make development, testing and releasing consistent among multiple machines. Signed-off-by: San7o <santigio2003@gmail.com>
1 parent 2939eb1 commit 83acdfe

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ VERSION ?= 1.0.0
44
ENV?=local
55
include .env-${ENV}
66

7+
# Go version
8+
export GOTOOLCHAIN ?= go1.24.0
9+
export GOSUMDB ?= sum.golang.org
10+
711
# CHANNELS define the bundle channels used in the bundle. Add a new
812
# line here if you would like to change its default config. (E.g
913
# CHANNELS = "candidate,fast,stable") To re-generate a bundle for

callback/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module callback-service
22

3-
go 1.24.5
3+
go 1.24.0
44

55
require sigs.k8s.io/controller-runtime v0.21.0
66

0 commit comments

Comments
 (0)