From 506f76d28b842be41b419ba65cd36219bd2ef612 Mon Sep 17 00:00:00 2001 From: Kabir Bharti Date: Thu, 27 Aug 2026 07:57:06 -0400 Subject: [PATCH] Clear GOFLAGS and use -mod=mod to fix CI build without vendor directory --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a4e7c5f..30dc110 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ build: @echo "Building extension binary..." @cd test/e2e && $(MAKE) -f bindata.mk update-bindata @mkdir -p bin - GOTOOLCHAIN=auto GONOSUMDB="*" go build -o $(BINARY) ./cmd + GOTOOLCHAIN=auto GONOSUMDB="*" GOFLAGS="" go build -mod=mod -o $(BINARY) ./cmd @echo "✅ Binary built: $(BINARY)" .PHONY: clean