1
0
mirror of https://github.com/docker/cli.git synced 2026-01-26 15:41:42 +03:00

Merge pull request #6625 from thaJeztah/bump_golangci_lint

Dockerfile: update golangci-lint to v2.6.1
This commit is contained in:
Paweł Gronowski
2025-11-05 12:40:19 +01:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
// based on https://github.com/golang/go/blob/master/src/text/tabwriter/tabwriter.go Last modified 690ac40 on 31 Jan
//nolint:gocyclo,gofumpt,nakedret,unused // ignore linting errors, so that we can stick close to upstream
//nolint:gocyclo,nakedret,unused // ignore linting errors, so that we can stick close to upstream
package tabwriter
import (

View File

@@ -175,7 +175,7 @@ func quoteCommand(commandAndArgs ...string) (string, error) {
quotedCmd = a
continue
}
quotedCmd += " " + a
quotedCmd += " " + a //nolint:perfsprint // ignore "concat-loop"; no need to use a string-builder for this.
}
// each part is quoted appropriately, so now we'll have a full
// shell command to pass off to "ssh"

View File

@@ -7,7 +7,7 @@ ARG GO_VERSION=1.25.3
# that's also available as alpine image variant for the Golang version used.
ARG ALPINE_VERSION=3.22
# GOLANGCI_LINT_VERSION sets the version of the golangci/golangci-lint image to use.
ARG GOLANGCI_LINT_VERSION=v2.5.0
ARG GOLANGCI_LINT_VERSION=v2.6.1
FROM golangci/golangci-lint:${GOLANGCI_LINT_VERSION}-alpine AS golangci-lint