mirror of
https://github.com/pgsty/minio.git
synced 2026-10-18 07:26:10 +03:00
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 <codex@openai.com> Signed-off-by: Feng Ruohang <rh@vonng.com>
This commit is contained in:
@@ -4,7 +4,7 @@ LDFLAGS := $(shell go run buildscripts/gen-ldflags.go)
|
|||||||
|
|
||||||
GOOS ?= $(shell go env GOOS)
|
GOOS ?= $(shell go env GOOS)
|
||||||
GOARCH ?= $(shell go env GOARCH)
|
GOARCH ?= $(shell go env GOARCH)
|
||||||
GOLANGCI_VERSION ?= v2.13.1
|
GOLANGCI_VERSION ?= v2.14.0
|
||||||
|
|
||||||
VERSION ?= $(shell git describe --tags)
|
VERSION ?= $(shell git describe --tags)
|
||||||
REPO ?= docker.io/pgsty
|
REPO ?= docker.io/pgsty
|
||||||
|
|||||||
Reference in New Issue
Block a user