From ed2f2a7d06306d1e820a424b21784a02f091a8d4 Mon Sep 17 00:00:00 2001 From: Krypto Kajun Date: Sat, 8 Nov 2025 12:21:41 -0600 Subject: [PATCH] fix: exclude scripts directory from go vet to avoid duplicate main function errors --- harness/local-ci-pipeline.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/harness/local-ci-pipeline.sh b/harness/local-ci-pipeline.sh index 0a8c193..3a13733 100755 --- a/harness/local-ci-pipeline.sh +++ b/harness/local-ci-pipeline.sh @@ -107,7 +107,7 @@ run_formatting() { } run_static_checks() { - run_step "go-vet" go vet ./... + run_step "go-vet" go vet ./cmd/... ./pkg/... ./internal/... if command -v golangci-lint >/dev/null 2>&1; then run_step "golangci-lint" timeout 300 golangci-lint run --timeout=10m