From 38a5ab549c043bb0be75f61abef4accb1ab6648f Mon Sep 17 00:00:00 2001 From: Feng Ruohang Date: Wed, 14 Oct 2026 15:48:51 +0800 Subject: [PATCH] build: use golangci-lint compatible with Go 1.27.2 Pin golangci-lint v2.14.0, whose x/tools v0.50.0 decoder supports the version 5 export data emitted by Go 1.27.2. The previous v2.13.1 binary failed to import internal/cpu in Linux CI before running the checks. Keep the existing linter selection and configuration. Developed with Codex (Astra). Co-authored-by: Codex Signed-off-by: Feng Ruohang --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index aaa97438b..5e80825da 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ LDFLAGS := $(shell go run buildscripts/gen-ldflags.go) GOOS ?= $(shell go env GOOS) GOARCH ?= $(shell go env GOARCH) -GOLANGCI_VERSION ?= v2.13.1 +GOLANGCI_VERSION ?= v2.14.0 VERSION ?= $(shell git describe --tags) REPO ?= docker.io/pgsty