Skip to content

Commit

Permalink
[updatecli][shell] Bump version to 1.19 (elastic#99)
Browse files Browse the repository at this point in the history
* chore: Updated the content of the file "/var/folders/hn/j6gds1qx1f5by...

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

Made with ❤️️ by updatecli

* chore: Updated the content of the file "/var/folders/hn/j6gds1qx1f5by...

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

Made with ❤️️ by updatecli

* chore: Updated the content of the file "/var/folders/hn/j6gds1qx1f5by...

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

Made with ❤️️ by updatecli

* Update linter in the Github workflows

---------

Co-authored-by: Denis Rechkunov <denis.rechkunov@elastic.co>
  • Loading branch information
v1v and rdner authored Mar 1, 2023
1 parent e71d60f commit 0ba2aa0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 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.47.2
version: v1.51.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.18.10
1.19.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.18.10"
go: "1.19.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.18.10"
go: "1.19.5"
# https://staticcheck.io/docs/options#checks
checks: ["all"]

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

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

gosec:
excludes:
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.17
go 1.19

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

0 comments on commit 0ba2aa0

Please sign in to comment.