From 300d56b3ff3f21e70767654fae3613e78242de49 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Thu, 7 Nov 2024 13:53:54 +0100 Subject: [PATCH] update gopls and golangci-lint Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- hack/dockerfiles/lint.Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hack/dockerfiles/lint.Dockerfile b/hack/dockerfiles/lint.Dockerfile index ff42b129..155ffd1a 100644 --- a/hack/dockerfiles/lint.Dockerfile +++ b/hack/dockerfiles/lint.Dockerfile @@ -2,11 +2,10 @@ ARG GO_VERSION=1.22 ARG XX_VERSION=1.3.0 -ARG GOLANGCI_LINT_VERSION=1.57.2 -ARG GOPLS_VERSION=v0.20.0 +ARG GOLANGCI_LINT_VERSION=1.62.0 +ARG GOPLS_VERSION=v0.26.0 # disabled: deprecated unusedvariable simplifyrange -ARG GOPLS_ANALYZERS="embeddirective fillreturns infertypeargs nonewvars noresultvalues simplifycompositelit simplifyslice stubmethods undeclaredname unusedparams useany" - +ARG GOPLS_ANALYZERS="embeddirective fillreturns infertypeargs nonewvars norangeoverfunc noresultvalues simplifycompositelit simplifyslice undeclaredname unusedparams useany" FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx