diff --git a/.github/variables/go-versions.env b/.github/variables/go-versions.env index f4a0cd70..d8e649f9 100644 --- a/.github/variables/go-versions.env +++ b/.github/variables/go-versions.env @@ -1,2 +1,2 @@ -latest=1.22.6 -penultimate=1.21.13 +latest=1.23.0 +penultimate=1.22.6 diff --git a/Dockerfile b/Dockerfile index 9f320853..6deeec11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # This is a standalone Dockerfile that does not depend on goreleaser building the binary # It is NOT the version that is pushed to dockerhub -FROM golang:1.22.6-alpine3.20 as builder +FROM golang:1.23.0-alpine3.20 as builder # See "Runtime platform versions" in CONTRIBUTING.md RUN apk --no-cache add \ diff --git a/Makefile b/Makefile index 6103a47a..40282742 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -GOLANGCI_LINT_VERSION=v1.55.2 +GOLANGCI_LINT_VERSION=v1.60.1 LINTER=./bin/golangci-lint LINTER_VERSION_FILE=./bin/.golangci-lint-version-$(GOLANGCI_LINT_VERSION) diff --git a/integrationtests/oshelpers/commands.go b/integrationtests/oshelpers/commands.go index 842b9e21..dd7d5253 100644 --- a/integrationtests/oshelpers/commands.go +++ b/integrationtests/oshelpers/commands.go @@ -76,6 +76,6 @@ func (c *CommandWrapper) initCommand() *exec.Cmd { } cmd := exec.Command(c.command, c.args...) //nolint:gosec cmd.Dir = path - cmd.Stderr = NewLineParsingWriter(func(line string) { fmt.Fprintf(c.outputWriter, "stderr >>> %s\n", line) }) + cmd.Stderr = NewLineParsingWriter(func(line string) { _, _ = fmt.Fprintf(c.outputWriter, "stderr >>> %s\n", line) }) return cmd }