From f305af9c230e848a1c5d2ef4b9f11fe6d3e80b1a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 20 Sep 2024 06:49:46 -0700 Subject: [PATCH] [Automation] Bump Golang version to 1.22.7 (#5569) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update from dockerfiles Made with ❤️️ by updatecli * chore: Update version.asciidoc Made with ❤️️ by updatecli * chore: Update .golangci.yml Made with ❤️️ by updatecli * chore: Update .go-version Made with ❤️️ by updatecli --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Pierre HILBERT --- .go-version | 2 +- .golangci.yml | 8 ++++---- Dockerfile | 2 +- Dockerfile.skaffold | 2 +- version/docs/version.asciidoc | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.go-version b/.go-version index 013173af5e9..87b26e8b1aa 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.22.6 +1.22.7 diff --git a/.golangci.yml b/.golangci.yml index 4b8cf59858b..399b5f7e496 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -122,7 +122,7 @@ linters-settings: gosimple: # Select the Go version to target. The default is '1.13'. - go: "1.22.6" + go: "1.22.7" nakedret: # make an issue if func has more lines of code than this setting and it has naked returns; default is 30 @@ -142,17 +142,17 @@ linters-settings: staticcheck: # Select the Go version to target. The default is '1.13'. - go: "1.22.6" + go: "1.22.7" checks: ["all"] stylecheck: # Select the Go version to target. The default is '1.13'. - go: "1.22.6" + go: "1.22.7" checks: ["all"] unused: # Select the Go version to target. The default is '1.13'. - go: "1.22.6" + go: "1.22.7" gosec: excludes: diff --git a/Dockerfile b/Dockerfile index 7b7a5e6ecc2..a0e92c8b586 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.22.6 +ARG GO_VERSION=1.22.7 FROM circleci/golang:${GO_VERSION} diff --git a/Dockerfile.skaffold b/Dockerfile.skaffold index 290ab362b2d..195380a4e38 100644 --- a/Dockerfile.skaffold +++ b/Dockerfile.skaffold @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.22.6 +ARG GO_VERSION=1.22.7 ARG crossbuild_image="docker.elastic.co/beats-dev/golang-crossbuild" ARG AGENT_VERSION=8.9.0-SNAPSHOT ARG AGENT_IMAGE="docker.elastic.co/beats/elastic-agent" diff --git a/version/docs/version.asciidoc b/version/docs/version.asciidoc index 2d1c2971da9..bba32108361 100644 --- a/version/docs/version.asciidoc +++ b/version/docs/version.asciidoc @@ -3,7 +3,7 @@ // FIXME: once elastic.co docs have been switched over to use `main`, remove // the `doc-site-branch` line below as well as any references to it in the code. :doc-site-branch: master -:go-version: 1.22.6 +:go-version: 1.22.7 :release-state: unreleased :python: 3.7 :docker: 1.12