From e246aec7e2b1e1c24a872875331ea929e17996ae Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 13:34:21 -0700 Subject: [PATCH] fix(deps): bump supported Go versions to 1.23.0 and 1.22.6 (#432) --- .github/variables/go-versions.env | 4 ++-- Dockerfile | 2 +- Makefile | 2 +- integrationtests/oshelpers/commands.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) 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 }