Skip to content

Commit aee1ac5

Browse files
authored
Bump Golang to 1.24 (#591)
* Bump * Update some libs * Bump up * Bump action * More bumps * Tidy
1 parent cda3dd0 commit aee1ac5

File tree

5 files changed

+303
-311
lines changed

5 files changed

+303
-311
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
# Node part
2323
- name: Setup Node.js environment
24-
uses: actions/setup-node@v2.5.2
24+
uses: actions/setup-node@v4
2525
with:
2626
cache: 'npm'
2727
cache-dependency-path: frontend/package-lock.json
@@ -36,7 +36,7 @@ jobs:
3636
- name: Set up Go
3737
uses: actions/setup-go@v5
3838
with:
39-
go-version: "1.22"
39+
go-version: "1.24"
4040
- name: Unit tests
4141
run: |
4242
go test -v -race ./... -covermode=atomic -coverprofile=coverage.out # Run all the tests with the race detector enabled
@@ -67,7 +67,7 @@ jobs:
6767
timeout-minutes: 60
6868
steps:
6969
- name: Check out the repo
70-
uses: actions/checkout@v3
70+
uses: actions/checkout@v4
7171

7272
- name: Docker meta
7373
uses: docker/metadata-action@v3
@@ -101,7 +101,7 @@ jobs:
101101
runs-on: ubuntu-latest
102102
steps:
103103
- name: Checkout
104-
uses: actions/checkout@v3
104+
uses: actions/checkout@v4
105105
with:
106106
fetch-depth: 0
107107

@@ -110,7 +110,7 @@ jobs:
110110
- name: Set up Go
111111
uses: actions/setup-go@v5
112112
with:
113-
go-version: "1.22"
113+
go-version: "1.24"
114114
- name: golangci-lint
115115
uses: golangci/golangci-lint-action@v4
116116
with:
@@ -120,7 +120,7 @@ jobs:
120120
args: --timeout=5m
121121

122122
- name: Setup Node.js environment
123-
uses: actions/setup-node@v3
123+
uses: actions/setup-node@v4
124124
with:
125125
cache: 'npm'
126126
cache-dependency-path: ./frontend/package-lock.json

.github/workflows/publish-chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
2020
- name: Bump versions

.github/workflows/release.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
2121
- name: Get tag name
@@ -29,11 +29,11 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
3333

3434
# Node part
3535
- name: Setup Node.js environment
36-
uses: actions/setup-node@v2.5.2
36+
uses: actions/setup-node@v4
3737
with:
3838
cache: 'npm'
3939
cache-dependency-path: frontend/package-lock.json
@@ -48,7 +48,7 @@ jobs:
4848
- name: Set up Go
4949
uses: actions/setup-go@v5
5050
with:
51-
go-version: "1.22"
51+
go-version: "1.24"
5252
- name: git cleanup
5353
run: git clean -f && git checkout frontend/yarn.lock
5454
- name: Run GoReleaser
@@ -67,7 +67,7 @@ jobs:
6767
timeout-minutes: 60
6868
steps:
6969
- name: Check out the repo
70-
uses: actions/checkout@v3
70+
uses: actions/checkout@v4
7171

7272
- name: Docker meta
7373
uses: docker/metadata-action@v3
@@ -104,7 +104,7 @@ jobs:
104104
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
105105
steps:
106106
- name: Checkout
107-
uses: actions/checkout@v3
107+
uses: actions/checkout@v4
108108
with:
109109
fetch-depth: 0
110110
- name: Bump versions

go.mod

Lines changed: 87 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,65 @@
11
module github.com/komodorio/helm-dashboard/v2
22

3-
go 1.22
3+
go 1.24.0
4+
5+
toolchain go1.24.2
46

57
require (
6-
github.com/Masterminds/semver/v3 v3.2.1
8+
github.com/Masterminds/semver/v3 v3.3.1
79
github.com/eko/gocache/v3 v3.1.2
8-
github.com/gin-gonic/gin v1.9.1
9-
github.com/hashicorp/go-version v1.6.0
10+
github.com/gin-gonic/gin v1.10.0
11+
github.com/hashicorp/go-version v1.7.0
1012
github.com/hexops/gotextdiff v1.0.3
11-
github.com/jessevdk/go-flags v1.5.0
12-
github.com/joomcode/errorx v1.1.1
13+
github.com/jessevdk/go-flags v1.6.1
14+
github.com/joomcode/errorx v1.2.0
1315
github.com/patrickmn/go-cache v2.1.0+incompatible
1416
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
1517
github.com/pkg/errors v0.9.1
1618
github.com/sirupsen/logrus v1.9.3
17-
github.com/stretchr/testify v1.9.0
18-
golang.org/x/mod v0.17.0
19+
github.com/stretchr/testify v1.10.0
20+
golang.org/x/mod v0.24.0
1921
gopkg.in/yaml.v3 v3.0.1
20-
gotest.tools/v3 v3.5.1
21-
helm.sh/helm/v3 v3.14.3
22-
k8s.io/api v0.29.3
23-
k8s.io/apimachinery v0.29.3
24-
k8s.io/cli-runtime v0.29.3
25-
k8s.io/client-go v0.29.3
26-
k8s.io/kubectl v0.29.3
27-
k8s.io/utils v0.0.0-20240310230437-4693a0247e57
22+
gotest.tools/v3 v3.5.2
23+
helm.sh/helm/v3 v3.17.3
24+
k8s.io/api v0.33.0
25+
k8s.io/apimachinery v0.33.0
26+
k8s.io/cli-runtime v0.33.0
27+
k8s.io/client-go v0.33.0
28+
k8s.io/kubectl v0.33.0
29+
k8s.io/utils v0.0.0-20250321185631-1f6e0b77f77e
2830
)
2931

3032
require (
33+
dario.cat/mergo v1.0.1 // indirect
3134
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect
3235
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
33-
github.com/BurntSushi/toml v1.3.2 // indirect
36+
github.com/BurntSushi/toml v1.4.0 // indirect
3437
github.com/MakeNowJust/heredoc v1.0.0 // indirect
3538
github.com/Masterminds/goutils v1.1.1 // indirect
36-
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
39+
github.com/Masterminds/sprig/v3 v3.3.0 // indirect
3740
github.com/Masterminds/squirrel v1.5.4 // indirect
3841
github.com/XiaoMi/pegasus-go-client v0.0.0-20210427083443-f3b6b08bc4c2 // indirect
3942
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
4043
github.com/beorn7/perks v1.0.1 // indirect
44+
github.com/blang/semver/v4 v4.0.0 // indirect
4145
github.com/bradfitz/gomemcache v0.0.0-20230905024940-24af94b03874 // indirect
42-
github.com/bytedance/sonic v1.11.3 // indirect
43-
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
44-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
46+
github.com/bytedance/sonic v1.13.2 // indirect
47+
github.com/bytedance/sonic/loader v0.2.4 // indirect
48+
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
49+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
4550
github.com/chai2010/gettext-go v1.0.2 // indirect
46-
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
47-
github.com/chenzhuoyu/iasm v0.9.1 // indirect
51+
github.com/cloudwego/base64x v0.1.5 // indirect
4852
github.com/containerd/containerd v1.7.27 // indirect
4953
github.com/containerd/errdefs v0.3.0 // indirect
5054
github.com/containerd/log v0.1.0 // indirect
5155
github.com/containerd/platforms v0.2.1 // indirect
52-
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
53-
github.com/davecgh/go-spew v1.1.1 // indirect
56+
github.com/cyphar/filepath-securejoin v0.3.6 // indirect
57+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
5458
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
5559
github.com/distribution/reference v0.6.0 // indirect
5660
github.com/docker/cli v25.0.3+incompatible // indirect
5761
github.com/docker/distribution v2.8.3+incompatible // indirect
58-
github.com/docker/docker v25.0.6+incompatible // indirect
62+
github.com/docker/docker v27.1.1+incompatible // indirect
5963
github.com/docker/docker-credential-helpers v0.8.1 // indirect
6064
github.com/docker/go-connections v0.5.0 // indirect
6165
github.com/docker/go-metrics v0.0.1 // indirect
@@ -65,44 +69,42 @@ require (
6569
github.com/fatih/camelcase v1.0.0 // indirect
6670
github.com/fatih/color v1.16.0 // indirect
6771
github.com/felixge/httpsnoop v1.0.4 // indirect
68-
github.com/fvbommel/sortorder v1.1.0 // indirect
69-
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
70-
github.com/gin-contrib/sse v0.1.0 // indirect
72+
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
73+
github.com/gabriel-vasile/mimetype v1.4.9 // indirect
74+
github.com/gin-contrib/sse v1.1.0 // indirect
7175
github.com/go-errors/errors v1.5.1 // indirect
7276
github.com/go-gorp/gorp/v3 v3.1.0 // indirect
7377
github.com/go-logr/logr v1.4.2 // indirect
7478
github.com/go-logr/stdr v1.2.2 // indirect
75-
github.com/go-openapi/jsonpointer v0.20.2 // indirect
79+
github.com/go-openapi/jsonpointer v0.21.0 // indirect
7680
github.com/go-openapi/jsonreference v0.20.4 // indirect
77-
github.com/go-openapi/swag v0.22.9 // indirect
81+
github.com/go-openapi/swag v0.23.0 // indirect
7882
github.com/go-playground/locales v0.14.1 // indirect
7983
github.com/go-playground/universal-translator v0.18.1 // indirect
80-
github.com/go-playground/validator/v10 v10.19.0 // indirect
84+
github.com/go-playground/validator/v10 v10.26.0 // indirect
8185
github.com/go-redis/redis/v8 v8.11.5 // indirect
8286
github.com/gobwas/glob v0.2.3 // indirect
83-
github.com/goccy/go-json v0.10.2 // indirect
87+
github.com/goccy/go-json v0.10.5 // indirect
8488
github.com/gogo/protobuf v1.3.2 // indirect
8589
github.com/golang/protobuf v1.5.4 // indirect
86-
github.com/google/btree v1.1.2 // indirect
87-
github.com/google/gnostic-models v0.6.8 // indirect
88-
github.com/google/go-cmp v0.6.0 // indirect
89-
github.com/google/gofuzz v1.2.0 // indirect
90+
github.com/google/btree v1.1.3 // indirect
91+
github.com/google/gnostic-models v0.6.9 // indirect
92+
github.com/google/go-cmp v0.7.0 // indirect
9093
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
9194
github.com/google/uuid v1.6.0 // indirect
9295
github.com/gorilla/mux v1.8.1 // indirect
93-
github.com/gorilla/websocket v1.5.1 // indirect
96+
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect
9497
github.com/gosuri/uitable v0.0.4 // indirect
9598
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
9699
github.com/hashicorp/errwrap v1.1.0 // indirect
97100
github.com/hashicorp/go-multierror v1.1.1 // indirect
98-
github.com/huandu/xstrings v1.4.0 // indirect
99-
github.com/imdario/mergo v0.3.16 // indirect
101+
github.com/huandu/xstrings v1.5.0 // indirect
100102
github.com/inconshreveable/mousetrap v1.1.0 // indirect
101-
github.com/jmoiron/sqlx v1.3.5 // indirect
103+
github.com/jmoiron/sqlx v1.4.0 // indirect
102104
github.com/josharian/intern v1.0.0 // indirect
103105
github.com/json-iterator/go v1.1.12 // indirect
104-
github.com/klauspost/compress v1.17.6 // indirect
105-
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
106+
github.com/klauspost/compress v1.18.0 // indirect
107+
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
106108
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect
107109
github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect
108110
github.com/leodido/go-urn v1.4.0 // indirect
@@ -116,7 +118,7 @@ require (
116118
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
117119
github.com/mitchellh/reflectwalk v1.0.2 // indirect
118120
github.com/moby/locker v1.0.1 // indirect
119-
github.com/moby/spdystream v0.2.0 // indirect
121+
github.com/moby/spdystream v0.5.0 // indirect
120122
github.com/moby/term v0.5.0 // indirect
121123
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
122124
github.com/modern-go/reflect2 v1.0.2 // indirect
@@ -126,61 +128,62 @@ require (
126128
github.com/opencontainers/go-digest v1.0.0 // indirect
127129
github.com/opencontainers/image-spec v1.1.0 // indirect
128130
github.com/pegasus-kv/thrift v0.13.0 // indirect
129-
github.com/pelletier/go-toml/v2 v2.2.0 // indirect
131+
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
130132
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
131-
github.com/pmezard/go-difflib v1.0.0 // indirect
132-
github.com/prometheus/client_golang v1.18.0 // indirect
133-
github.com/prometheus/client_model v0.6.0 // indirect
134-
github.com/prometheus/common v0.47.0 // indirect
135-
github.com/prometheus/procfs v0.12.0 // indirect
133+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
134+
github.com/prometheus/client_golang v1.22.0 // indirect
135+
github.com/prometheus/client_model v0.6.1 // indirect
136+
github.com/prometheus/common v0.62.0 // indirect
137+
github.com/prometheus/procfs v0.15.1 // indirect
136138
github.com/rivo/uniseg v0.4.7 // indirect
137-
github.com/rogpeppe/go-internal v1.12.0 // indirect
138-
github.com/rubenv/sql-migrate v1.6.1 // indirect
139+
github.com/rubenv/sql-migrate v1.7.1 // indirect
139140
github.com/russross/blackfriday/v2 v2.1.0 // indirect
140-
github.com/shopspring/decimal v1.3.1 // indirect
141-
github.com/spf13/cast v1.6.0 // indirect
142-
github.com/spf13/cobra v1.8.0 // indirect
141+
github.com/shopspring/decimal v1.4.0 // indirect
142+
github.com/spf13/cast v1.7.0 // indirect
143+
github.com/spf13/cobra v1.8.1 // indirect
143144
github.com/spf13/pflag v1.0.5 // indirect
144145
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
145146
github.com/ugorji/go/codec v1.2.12 // indirect
146147
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
148+
github.com/x448/float16 v0.8.4 // indirect
147149
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
148150
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
149151
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
150152
github.com/xlab/treeprint v1.2.0 // indirect
151-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.48.0 // indirect
152-
go.opentelemetry.io/otel v1.23.1 // indirect
153-
go.opentelemetry.io/otel/metric v1.23.1 // indirect
154-
go.opentelemetry.io/otel/trace v1.23.1 // indirect
155-
go.starlark.net v0.0.0-20240123142251-f86470692795 // indirect
156-
golang.org/x/arch v0.7.0 // indirect
157-
golang.org/x/crypto v0.31.0 // indirect
158-
golang.org/x/exp v0.0.0-20240213143201-ec583247a57a // indirect
159-
golang.org/x/net v0.33.0 // indirect
160-
golang.org/x/oauth2 v0.17.0 // indirect
161-
golang.org/x/sync v0.10.0 // indirect
162-
golang.org/x/sys v0.28.0 // indirect
163-
golang.org/x/term v0.27.0 // indirect
164-
golang.org/x/text v0.21.0 // indirect
165-
golang.org/x/time v0.5.0 // indirect
153+
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
154+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 // indirect
155+
go.opentelemetry.io/otel v1.33.0 // indirect
156+
go.opentelemetry.io/otel/metric v1.33.0 // indirect
157+
go.opentelemetry.io/otel/trace v1.33.0 // indirect
158+
golang.org/x/arch v0.16.0 // indirect
159+
golang.org/x/crypto v0.37.0 // indirect
160+
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
161+
golang.org/x/net v0.39.0 // indirect
162+
golang.org/x/oauth2 v0.27.0 // indirect
163+
golang.org/x/sync v0.13.0 // indirect
164+
golang.org/x/sys v0.32.0 // indirect
165+
golang.org/x/term v0.31.0 // indirect
166+
golang.org/x/text v0.24.0 // indirect
167+
golang.org/x/time v0.11.0 // indirect
166168
google.golang.org/appengine v1.6.8 // indirect
167-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
168-
google.golang.org/grpc v1.61.1 // indirect
169-
google.golang.org/protobuf v1.35.2 // indirect
170-
gopkg.in/evanphx/json-patch.v5 v5.9.0 // indirect
169+
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 // indirect
170+
google.golang.org/grpc v1.68.1 // indirect
171+
google.golang.org/protobuf v1.36.5 // indirect
172+
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
171173
gopkg.in/inf.v0 v0.9.1 // indirect
172174
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
173175
gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637 // indirect
174-
gopkg.in/yaml.v2 v2.4.0 // indirect
175-
k8s.io/apiextensions-apiserver v0.29.2 // indirect
176-
k8s.io/apiserver v0.29.2 // indirect
177-
k8s.io/component-base v0.29.3 // indirect
178-
k8s.io/klog/v2 v2.120.1 // indirect
179-
k8s.io/kube-openapi v0.0.0-20240209001042-7a0d5b415232 // indirect
176+
k8s.io/apiextensions-apiserver v0.32.2 // indirect
177+
k8s.io/apiserver v0.32.2 // indirect
178+
k8s.io/component-base v0.33.0 // indirect
179+
k8s.io/component-helpers v0.33.0 // indirect
180+
k8s.io/klog/v2 v2.130.1 // indirect
181+
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff // indirect
180182
oras.land/oras-go v1.2.5 // indirect
181-
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
182-
sigs.k8s.io/kustomize/api v0.16.0 // indirect
183-
sigs.k8s.io/kustomize/kyaml v0.16.0 // indirect
184-
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
183+
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
184+
sigs.k8s.io/kustomize/api v0.19.0 // indirect
185+
sigs.k8s.io/kustomize/kyaml v0.19.0 // indirect
186+
sigs.k8s.io/randfill v1.0.0 // indirect
187+
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 // indirect
185188
sigs.k8s.io/yaml v1.4.0 // indirect
186189
)

0 commit comments

Comments
 (0)