Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to set go1.20 in go.mod and upgrade golangci-lint #3073

Merged
merged 3 commits into from
May 22, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ dependencies:
match: "GO_MAJOR_VERSION: '\\d+.\\d+'"

- name: "golang: go.mod"
version: 1.19
version: 1.20
refPaths:
- path: go.mod
match: go \d+.\d+
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 k8s.io/release

go 1.19
go 1.20

require (
cloud.google.com/go/storage v1.30.1
Expand Down
4 changes: 2 additions & 2 deletions hack/verify-golangci-lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set -o errexit
set -o nounset
set -o pipefail

VERSION=v1.51.0
VERSION=v1.52.2
URL_BASE=https://raw.githubusercontent.com/golangci/golangci-lint
URL=$URL_BASE/$VERSION/install.sh
# If you update the version above you might need to update the checksum
Expand All @@ -27,7 +27,7 @@ URL=$URL_BASE/$VERSION/install.sh
# To obtain the checksum, download the install script and run the following
# command:
# > sha256sum <path-to-install-script>
INSTALL_CHECKSUM=0e09dedc7e35f511b7924b885e50d7fe48eef25bec78c86f22f5b5abd24976cc
INSTALL_CHECKSUM=dca295393b56166c5e015ea501b3f9e08b706f76b441ccf7e75d2d07ef44e04a

if [[ ! -f .golangci.yml ]]; then
echo 'ERROR: missing .golangci.yml in repo root' >&2
Expand Down
2 changes: 1 addition & 1 deletion images/build/go-runner/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module k8s.io/release/images/build/go-runner

go 1.19
go 1.20
2 changes: 1 addition & 1 deletion packages/deb/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module k8s.io/release/packages/deb

go 1.19
go 1.20

require github.com/blang/semver/v4 v4.0.0