From e523d15fc5668cb11f558e714656ce82774e8bb2 Mon Sep 17 00:00:00 2001 From: thediveo Date: Sat, 30 Mar 2024 17:07:20 +0100 Subject: [PATCH] chore: enforce local Go toolchain when using Makefile Signed-off-by: thediveo --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index b76af19..fe6438f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ .PHONY: help clean pkgsite report test +export GOTOOLCHAIN=local + help: ## list available targets @# Shamelessly stolen from Gomega's Makefile @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-16s\033[0m %s\n", $$1, $$2}'