Skip to content

Commit

Permalink
[updatecli][githubrelease] Bump version to 1.21.5 (#174)
Browse files Browse the repository at this point in the history
* chore: Updated the content of the file "/var/folders/n3/mrw1c3451wvgc...

... ll_c5kmq7v40000gn/T/updatecli/github/elastic/elastic-agent-libs/go.mod"

Made with ❤️️ by updatecli

* chore: Updated the content of the file "/var/folders/n3/mrw1c3451wvgc...

... ll_c5kmq7v40000gn/T/updatecli/github/elastic/elastic-agent-libs/.golangci.yml"

Made with ❤️️ by updatecli

* chore: Updated the content of the file "/var/folders/n3/mrw1c3451wvgc...

... ll_c5kmq7v40000gn/T/updatecli/github/elastic/elastic-agent-libs/.go-version"

Made with ❤️️ by updatecli

* Update to latest linter version.
  • Loading branch information
cmacknz authored Jan 4, 2024
1 parent 9438474 commit 1cf0afd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.51.2
version: v1.55.2

# Give the job more time to execute.
# Regarding `--whole-files`, the linter is supposed to support linting of changed a patch only but,
Expand Down
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.20.12
1.21.5
8 changes: 4 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ linters-settings:

gosimple:
# Select the Go version to target. The default is '1.13'.
go: "1.20.12"
go: "1.21.5"

nakedret:
# make an issue if func has more lines of code than this setting and it has naked returns; default is 30
Expand Down Expand Up @@ -117,19 +117,19 @@ linters-settings:

staticcheck:
# Select the Go version to target. The default is '1.13'.
go: "1.20.12"
go: "1.21.5"
# https://staticcheck.io/docs/options#checks
checks: ["all"]

stylecheck:
# Select the Go version to target. The default is '1.13'.
go: "1.20.12"
go: "1.21.5"
# https://staticcheck.io/docs/options#checks
checks: ["all"]

unused:
# Select the Go version to target. The default is '1.13'.
go: "1.20.12"
go: "1.21.5"

gosec:
excludes:
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/mage/linter.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
)

const (
linterVersion = "v1.51.2"
linterVersion = "v1.55.2"
linterInstallURL = "https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/elastic/elastic-agent-libs

go 1.20
go 1.21

require (
github.com/Microsoft/go-winio v0.5.2
Expand Down

0 comments on commit 1cf0afd

Please sign in to comment.