From 14773fab8acdf6bef58d4958a67cd16d5ff6f1d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Serv=C3=A9n=20Mar=C3=ADn?= Date: Mon, 20 Mar 2023 18:53:47 +0100 Subject: [PATCH] CI: fix golangci-lint OOM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit golangci-lint <= 1.50 does not support Go > 1.20 and will OOM. This PR fixes the issue. xref: https://github.com/golangci/golangci-lint/pull/3414 Signed-off-by: Lucas Servén Marín --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b033af3..d74a924 100644 --- a/Makefile +++ b/Makefile @@ -114,7 +114,7 @@ down: $(MIGRATE_BINARY) $(MIGRATE_BINARY) -dir db/migrations postgres "$(DATABASE_URL)" down $(GOLANGCI_LINT_BINARY): | $(BIN_DIR) - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b bin v1.50.1 + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b bin v1.52.0 $(MIGRATE_BINARY): | $(BIN_DIR) go build -mod=vendor -o $@ github.com/pressly/goose/cmd/goose