fix: exclude scripts directory from go vet to avoid duplicate main function errors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user