From 938ebeb935ebcc9b693c7992446127f45d57f143 Mon Sep 17 00:00:00 2001 From: Cory Snider Date: Fri, 24 Feb 2023 13:42:04 -0500 Subject: [PATCH] Fix golangci-lint OOM on Jenkins Signed-off-by: Cory Snider --- hack/validate/golangci-lint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/validate/golangci-lint b/hack/validate/golangci-lint index fd14690ae1fd6..d2f224dade2f3 100755 --- a/hack/validate/golangci-lint +++ b/hack/validate/golangci-lint @@ -21,7 +21,7 @@ echo -e "\n\033[0;36mINFO\033[0m Start validation with golang-ci-lint" # TODO use --out-format=junit-xml and store artifacts # shellcheck disable=SC2086 -GOGC=75 golangci-lint run \ +GOGC=30 golangci-lint run \ ${GOLANGCI_LINT_OPTS} \ --print-resources-usage \ --build-tags="${DOCKER_BUILDTAGS}" \