Skip to content

Commit 14773fa

Browse files
committed
CI: fix golangci-lint OOM
golangci-lint <= 1.50 does not support Go > 1.20 and will OOM. This PR fixes the issue. xref: golangci/golangci-lint#3414 Signed-off-by: Lucas Servén Marín <[email protected]>
1 parent 780e3b6 commit 14773fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ down: $(MIGRATE_BINARY)
114114
$(MIGRATE_BINARY) -dir db/migrations postgres "$(DATABASE_URL)" down
115115

116116
$(GOLANGCI_LINT_BINARY): | $(BIN_DIR)
117-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b bin v1.50.1
117+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b bin v1.52.0
118118

119119
$(MIGRATE_BINARY): | $(BIN_DIR)
120120
go build -mod=vendor -o $@ github.com/pressly/goose/cmd/goose

0 commit comments

Comments
 (0)