Skip to content

Commit b8c6a2b

Browse files
authored
Merge pull request #1729 from kubevirt-bot/cherry-pick-1724-to-release-v0.22
[release-v0.22] chore: Lower memory used for golangci-lint
2 parents e664552 + 3cc4db9 commit b8c6a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ GOLANGCI_LINT_VERSION ?= v1.55.2
324324
.PHONY: lint
325325
lint:
326326
test -s $(GOLANGCI_LINT) || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(LOCALBIN) $(GOLANGCI_LINT_VERSION)
327-
$(GOLANGCI_LINT) run --timeout 5m
327+
GOMEMLIMIT=2GiB $(GOLANGCI_LINT) run --timeout 10m
328328

329329
.PHONY: lint-metrics
330330
lint-metrics:

0 commit comments

Comments
 (0)