From 9712e50f6c01c68f85cba851448b9ae20772a104 Mon Sep 17 00:00:00 2001 From: 0x1d Date: Fri, 7 Nov 2025 09:55:24 +0100 Subject: [PATCH] fix(scripts): disable VCS stamping in pre-commit container --- scripts/pre-commit-check.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/pre-commit-check.sh b/scripts/pre-commit-check.sh index 5057401..89b33b3 100755 --- a/scripts/pre-commit-check.sh +++ b/scripts/pre-commit-check.sh @@ -54,6 +54,8 @@ docker run --rm \ cd /workspace && make fmt-check || exit 1 echo '๐Ÿ” Running make lint...' + export CGO_ENABLED=1 + export GOFLAGS=-buildvcs=false make lint || exit 1 echo '๐Ÿงช Running make test...'