Skip to content

Commit e0c26d2

Browse files
authored
Use Go 1.22 (#37)
/cherry-pick Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent 9e9d251 commit e0c26d2

File tree

221 files changed

+14244
-3401
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

221 files changed

+14244
-3401
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
runs-on: ubuntu-20.04
2121
steps:
2222

23-
- name: Set up Go 1.21
23+
- name: Set up Go 1.22
2424
uses: actions/setup-go@v1
2525
with:
26-
go-version: '1.21'
26+
go-version: '1.22'
2727
id: go
2828

2929
- uses: actions/checkout@v2

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ TAG := $(VERSION)_$(OS)_$(ARCH)
7171
TAG_PROD := $(TAG)
7272
TAG_DBG := $(VERSION)-dbg_$(OS)_$(ARCH)
7373

74-
GO_VERSION ?= 1.21
74+
GO_VERSION ?= 1.22
7575
BUILD_IMAGE ?= ghcr.io/appscode/golang-dev:$(GO_VERSION)
7676

7777
OUTBIN = bin/$(OS)_$(ARCH)/$(BIN)

go.mod

Lines changed: 37 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,43 @@
11
module stash.appscode.dev/ui-server
22

3-
go 1.21.7
3+
go 1.22.0
4+
5+
toolchain go1.22.2
46

57
require (
68
github.com/lnquy/cron v1.1.1
79
github.com/robfig/cron/v3 v3.0.1
8-
github.com/spf13/cobra v1.7.0
10+
github.com/spf13/cobra v1.8.0
911
github.com/spf13/pflag v1.0.5
10-
go.bytebuilders.dev/license-verifier v0.13.4
12+
go.bytebuilders.dev/license-verifier v0.14.0
1113
gomodules.xyz/logs v0.0.7
1214
gomodules.xyz/pointer v0.1.0
13-
gomodules.xyz/x v0.0.15
14-
k8s.io/api v0.29.0
15-
k8s.io/apimachinery v0.29.0
16-
k8s.io/apiserver v0.29.0
17-
k8s.io/client-go v0.29.0
18-
k8s.io/klog/v2 v2.110.1
15+
gomodules.xyz/x v0.0.17
16+
k8s.io/api v0.29.2
17+
k8s.io/apimachinery v0.29.2
18+
k8s.io/apiserver v0.29.2
19+
k8s.io/client-go v0.29.2
20+
k8s.io/klog/v2 v2.120.1
1921
kmodules.xyz/authorizer v0.29.0
20-
kmodules.xyz/client-go v0.29.7
22+
kmodules.xyz/client-go v0.29.13
2123
kmodules.xyz/custom-resources v0.29.1
22-
kmodules.xyz/resource-metrics v0.29.0
23-
sigs.k8s.io/controller-runtime v0.17.0
24+
kmodules.xyz/resource-metrics v0.29.1
25+
sigs.k8s.io/controller-runtime v0.17.2
2426
stash.appscode.dev/apimachinery v0.33.0
2527
)
2628

29+
require (
30+
github.com/klauspost/cpuid/v2 v2.0.9 // indirect
31+
github.com/zeebo/xxh3 v1.0.2 // indirect
32+
)
33+
2734
require (
2835
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
2936
github.com/Masterminds/semver/v3 v3.2.1 // indirect
3037
github.com/NYTimes/gziphandler v1.1.1 // indirect
31-
github.com/PuerkitoBio/purell v1.2.0 // indirect
38+
github.com/PuerkitoBio/purell v1.2.1 // indirect
3239
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df // indirect
33-
github.com/asaskevich/govalidator v0.0.0-20200428143746-21a406dcc535 // indirect
40+
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
3441
github.com/beorn7/perks v1.0.1 // indirect
3542
github.com/blang/semver/v4 v4.0.0 // indirect
3643
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
@@ -53,26 +60,25 @@ require (
5360
github.com/go-sql-driver/mysql v1.7.1 // indirect
5461
github.com/gogo/protobuf v1.3.2 // indirect
5562
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
56-
github.com/golang/protobuf v1.5.3 // indirect
57-
github.com/google/btree v1.0.1 // indirect
63+
github.com/golang/protobuf v1.5.4 // indirect
64+
github.com/google/btree v1.1.2 // indirect
5865
github.com/google/cel-go v0.17.7 // indirect
5966
github.com/google/gnostic-models v0.6.8 // indirect
6067
github.com/google/go-cmp v0.6.0 // indirect
61-
github.com/google/go-containerregistry v0.17.0 // indirect
68+
github.com/google/go-containerregistry v0.19.0 // indirect
6269
github.com/google/gofuzz v1.2.0 // indirect
6370
github.com/google/pprof v0.0.0-20221118152302-e6195bd50e26 // indirect
6471
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
65-
github.com/google/uuid v1.4.0 // indirect
72+
github.com/google/uuid v1.6.0 // indirect
6673
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
6774
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
6875
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 // indirect
69-
github.com/imdario/mergo v0.3.13 // indirect
76+
github.com/imdario/mergo v0.3.16 // indirect
7077
github.com/inconshreveable/mousetrap v1.1.0 // indirect
7178
github.com/josharian/intern v1.0.0 // indirect
7279
github.com/json-iterator/go v1.1.12 // indirect
7380
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
7481
github.com/mailru/easyjson v0.7.7 // indirect
75-
github.com/mattn/go-isatty v0.0.18 // indirect
7682
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
7783
github.com/mitchellh/mapstructure v1.5.0 // indirect
7884
github.com/moby/term v0.5.0 // indirect
@@ -107,13 +113,13 @@ require (
107113
go.starlark.net v0.0.0-20230525235612-a134d8f9ddca // indirect
108114
go.uber.org/multierr v1.11.0 // indirect
109115
go.uber.org/zap v1.26.0 // indirect
110-
golang.org/x/crypto v0.17.0 // indirect
116+
golang.org/x/crypto v0.19.0 // indirect
111117
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
112-
golang.org/x/net v0.19.0 // indirect
118+
golang.org/x/net v0.21.0 // indirect
113119
golang.org/x/oauth2 v0.15.0 // indirect
114120
golang.org/x/sync v0.5.0 // indirect
115-
golang.org/x/sys v0.16.0 // indirect
116-
golang.org/x/term v0.15.0 // indirect
121+
golang.org/x/sys v0.17.0 // indirect
122+
golang.org/x/term v0.17.0 // indirect
117123
golang.org/x/text v0.14.0 // indirect
118124
golang.org/x/time v0.5.0 // indirect
119125
gomodules.xyz/clock v0.0.0-20200817085942-06523dba733f // indirect
@@ -128,18 +134,18 @@ require (
128134
google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d // indirect
129135
google.golang.org/genproto/googleapis/rpc v0.0.0-20230911183012-2d3300fd4832 // indirect
130136
google.golang.org/grpc v1.59.0 // indirect
131-
google.golang.org/protobuf v1.31.0 // indirect
137+
google.golang.org/protobuf v1.33.0 // indirect
132138
gopkg.in/inf.v0 v0.9.1 // indirect
133139
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
134140
gopkg.in/yaml.v2 v2.4.0 // indirect
135141
gopkg.in/yaml.v3 v3.0.1 // indirect
136-
k8s.io/apiextensions-apiserver v0.29.0 // indirect
137-
k8s.io/cli-runtime v0.29.0 // indirect
138-
k8s.io/component-base v0.29.0 // indirect
142+
k8s.io/apiextensions-apiserver v0.29.2 // indirect
143+
k8s.io/cli-runtime v0.29.2 // indirect
144+
k8s.io/component-base v0.29.2 // indirect
139145
k8s.io/component-helpers v0.29.0 // indirect
140-
k8s.io/kms v0.29.0 // indirect
141-
k8s.io/kube-openapi v0.0.0-20231129212854-f0671cc7e66a // indirect
142-
k8s.io/utils v0.0.0-20231127182322-b307cd553661 // indirect
146+
k8s.io/kms v0.29.2 // indirect
147+
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
148+
k8s.io/utils v0.0.0-20240102154912-e7106e64919e // indirect
143149
kmodules.xyz/objectstore-api v0.29.1 // indirect
144150
kmodules.xyz/offshoot-api v0.29.0 // indirect
145151
kmodules.xyz/prober v0.29.0 // indirect

0 commit comments

Comments
 (0)