Skip to content

Commit bd72091

Browse files
authored
Merge pull request #3067 from Nordix/lentzi90/go-toolchain
🌱 Set GOTOOLCHAIN in Makefile
2 parents 64227d4 + 4fad83f commit bd72091

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ TRACE ?= 0
2929
# Go
3030
GO_VERSION ?= 1.25.8
3131

32+
# Ensure correct toolchain is used
33+
GOTOOLCHAIN = go$(GO_VERSION)
34+
export GOTOOLCHAIN
35+
3236
# Directories.
3337
ARTIFACTS ?= $(REPO_ROOT)/_artifacts
3438
TOOLS_DIR := hack/tools

0 commit comments

Comments
 (0)