Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Commit

Permalink
Update go release version to 1.17.10 (#39)
Browse files Browse the repository at this point in the history
* Update go release version to 1.17.10
* Replace .golangci.yml Go version with sed.
  • Loading branch information
cmacknz authored May 20, 2022
1 parent 814a166 commit bfd5836
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .ci/bump-go-release-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ echo "Update go version ${GO_RELEASE_VERSION}"
echo "${GO_RELEASE_VERSION}" > .go-version
git add .go-version

mage linter:updateGoVersion
${SED} -E -e "s#(go:) \"[0-9]+\.[0-9]+\.[0-9]+\"#\1 \"${GO_RELEASE_VERSION}\"#g" .golangci.yml
git add .golangci.yml

find . -maxdepth 3 -name Dockerfile -print0 |
Expand Down
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.17.8
1.17.10
8 changes: 4 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ linters-settings:

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

misspell:
# Correct spellings using locale preferences for US or UK.
Expand Down Expand Up @@ -154,12 +154,12 @@ linters-settings:

staticcheck:
# Select the Go version to target. The default is '1.13'.
go: "1.17.8"
go: "1.17.10"
checks: ["all"]

stylecheck:
# Select the Go version to target. The default is '1.13'.
go: "1.17.8"
go: "1.17.10"
checks: ["all"]

unparam:
Expand All @@ -171,4 +171,4 @@ linters-settings:

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

0 comments on commit bfd5836

Please sign in to comment.