From 149e7a18170464aa09ee3346fd52b99b572e40e3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 31 Jan 2025 11:32:56 +0100 Subject: [PATCH] [Automation] Bump Golang version to 1.22.11 (#6663) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update version.asciidoc Made with ❤️️ by updatecli * chore: Update .golangci.yml Made with ❤️️ by updatecli * chore: Update from dockerfiles Made with ❤️️ by updatecli * chore: Update go.mod version Made with ❤️️ by updatecli --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> (cherry picked from commit 3145177fdda34961d166ecb809674d6d092d7fa5) --- .golangci.yml | 8 ++++---- Dockerfile | 2 +- Dockerfile.skaffold | 2 +- go.mod | 2 +- version/docs/version.asciidoc | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 6047e1829ba..88b2469525a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -120,7 +120,7 @@ linters-settings: gosimple: # Select the Go version to target. The default is '1.13'. - go: "1.22.10" + go: "1.22.11" nolintlint: # Enable to ensure that nolint directives are all used. Default is true. @@ -136,17 +136,17 @@ linters-settings: staticcheck: # Select the Go version to target. The default is '1.13'. - go: "1.22.10" + go: "1.22.11" checks: ["all"] stylecheck: # Select the Go version to target. The default is '1.13'. - go: "1.22.10" + go: "1.22.11" checks: ["all"] unused: # Select the Go version to target. The default is '1.13'. - go: "1.22.10" + go: "1.22.11" gosec: excludes: diff --git a/Dockerfile b/Dockerfile index 5aa38597904..81c7b489b58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.22.10 +ARG GO_VERSION=1.22.11 FROM circleci/golang:${GO_VERSION} diff --git a/Dockerfile.skaffold b/Dockerfile.skaffold index 54c55718b6c..9e86e69530c 100644 --- a/Dockerfile.skaffold +++ b/Dockerfile.skaffold @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.22.10 +ARG GO_VERSION=1.22.11 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/go.mod b/go.mod index 005c07e51db..62b8bd45ba7 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/elastic/elastic-agent -go 1.22.10 +go 1.22.11 require ( github.com/Jeffail/gabs/v2 v2.6.0 diff --git a/version/docs/version.asciidoc b/version/docs/version.asciidoc index 61bea54381d..7a036c642c1 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.10 +:go-version: 1.22.11 :release-state: unreleased :python: 3.7 :docker: 1.12