From 310fab9eaf014f9788fbbe2dd2776400224f30ba Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 12:58:42 -0500 Subject: [PATCH] [updatecli] Bump Golang version to 1.21.6 (#127) ### What Bump go release version with the latest release. ### Further details See [changelog](https://github.com/golang/go/issues?q=milestone%3AGo1.21.6+label%3ACherryPickApproved) for 1.21.6 Generated automatically with https://github.com/elastic/elastic-agent-system-metrics/actions/runs/7514565886 ---

Bump golang-version to latest version

Update .go-version

1 file(s) updated with "1.21.6": * .go-version

1.21.6
no GitHub Release found for go1.21.6 on
"https://github.com/golang/go"
Update .golangci.yml

1 file(s) updated with "1.21.6": * .golangci.yml

1.21.6
no GitHub Release found for go1.21.6 on
"https://github.com/golang/go"
---
Updatecli
logo

Created automatically by Updatecli

Options:

Most of Updatecli configuration is done via its manifest(s).

  • If you close this pull request, Updatecli will automatically reopen it, the next time it runs.
  • If you close this pull request and delete the base branch, Updatecli will automatically recreate it, erasing all previous commits made.

Feel free to report any issues at github.com/updatecli/updatecli.
If you find this tool useful, do not hesitate to star our GitHub repository as a sign of appreciation, and/or to tell us directly on our chat!

--------- Co-authored-by: apmmachine --- .go-version | 2 +- .golangci.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.go-version b/.go-version index ce2dd53570..c262b1f0df 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.21.5 +1.21.6 diff --git a/.golangci.yml b/.golangci.yml index 5fa5bca6de..c0ea1cfa58 100755 --- a/.golangci.yml +++ b/.golangci.yml @@ -93,7 +93,7 @@ linters-settings: gosimple: # Select the Go version to target. The default is '1.13'. - go: "1.21.5" + go: "1.21.6" nakedret: # make an issue if func has more lines of code than this setting and it has naked returns; default is 30 @@ -113,17 +113,17 @@ linters-settings: staticcheck: # Select the Go version to target. The default is '1.13'. - go: "1.21.5" + go: "1.21.6" checks: ["all"] stylecheck: # Select the Go version to target. The default is '1.13'. - go: "1.21.5" + go: "1.21.6" checks: ["all"] unused: # Select the Go version to target. The default is '1.13'. - go: "1.21.5" + go: "1.21.6" gosec: excludes: