From 3d84c7be03fd8a30f5fe124c712e581dc70466c3 Mon Sep 17 00:00:00 2001 From: Jean Machuca Date: Mon, 6 Jul 2026 02:21:47 +0000 Subject: [PATCH] fix: add CGO_ENABLED=0 to go vet, suppress shellcheck SC3043 warning --- scripts/healthcheck.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/healthcheck.sh b/scripts/healthcheck.sh index 62aa949..4b1ad9b 100755 --- a/scripts/healthcheck.sh +++ b/scripts/healthcheck.sh @@ -1,4 +1,5 @@ #!/bin/sh +# shellcheck disable=SC3043 set -e # ── Config ── @@ -108,7 +109,7 @@ check_go_vet() { check "go vet $label" skip "go not installed" return fi - if (cd "$dir" && go vet ./... 2>&1); then + if (cd "$dir" && CGO_ENABLED=0 go vet ./... 2>&1); then check "go vet $label" pass else check "go vet $label" fail "vet errors"