Skip to content

Commit d5abf92

Browse files
committed
chore: update golang to 1.26 and GHA to latest versions
- Update go.mod to go 1.26 - Update dependencies and go.sum - Update GitHub Actions to latest stable majors: - actions/checkout@v6 - actions/setup-go@v6 - actions/upload-artifact@v7 - actions/download-artifact@v7 - hashicorp/setup-terraform@v4 - softprops/action-gh-release@v2 - Re-apply version/commit injection via ldflags Signed-off-by: James Nesbitt <jnesbitt@mirantis.com>
1 parent 4ec78f4 commit d5abf92

8 files changed

Lines changed: 234 additions & 238 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919

2020
steps:
2121
- name: Checkout code
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v6
2323

2424
- name: Set up Go
25-
uses: actions/setup-go@v5
25+
uses: actions/setup-go@v6
2626
with:
2727
go-version-file: go.mod
2828
cache: true
@@ -43,7 +43,7 @@ jobs:
4343
done
4444
4545
- name: Upload artifacts
46-
uses: actions/upload-artifact@v4
46+
uses: actions/upload-artifact@v7
4747
with:
4848
name: launchpad-binaries
4949
path: dist/
@@ -57,10 +57,10 @@ jobs:
5757
needs: build
5858
steps:
5959
- name: Checkout code
60-
uses: actions/checkout@v4
60+
uses: actions/checkout@v6
6161

6262
- name: Set up Go
63-
uses: actions/setup-go@v5
63+
uses: actions/setup-go@v6
6464
with:
6565
go-version-file: go.mod
6666
cache: true

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919

2020

2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323

2424
- name: Set up Go
25-
uses: actions/setup-go@v5
25+
uses: actions/setup-go@v6
2626
with:
2727
go-version-file: go.mod
2828

.github/workflows/pr.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030

3131
steps:
3232
- name: Checkout code
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v6
3434

3535
- name: Set up Go
36-
uses: actions/setup-go@v5
36+
uses: actions/setup-go@v6
3737
with:
3838
go-version-file: go.mod
3939
cache: true
@@ -49,10 +49,10 @@ jobs:
4949

5050
steps:
5151
- name: Checkout code
52-
uses: actions/checkout@v4
52+
uses: actions/checkout@v6
5353

5454
- name: Set up Go
55-
uses: actions/setup-go@v5
55+
uses: actions/setup-go@v6
5656
with:
5757
go-version-file: go.mod
5858
cache: true
@@ -68,10 +68,10 @@ jobs:
6868

6969
steps:
7070
- name: Checkout code
71-
uses: actions/checkout@v4
71+
uses: actions/checkout@v6
7272

7373
- name: Set up Go
74-
uses: actions/setup-go@v5
74+
uses: actions/setup-go@v6
7575
with:
7676
go-version-file: go.mod
7777
cache: true
@@ -89,10 +89,10 @@ jobs:
8989

9090
steps:
9191
- name: Checkout code
92-
uses: actions/checkout@v4
92+
uses: actions/checkout@v6
9393

9494
- name: Set up Go
95-
uses: actions/setup-go@v5
95+
uses: actions/setup-go@v6
9696
with:
9797
go-version-file: go.mod
9898
cache: true

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020

2121
steps:
2222
- name: Checkout code
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v6
2424

2525
- name: Set up Go
26-
uses: actions/setup-go@v5
26+
uses: actions/setup-go@v6
2727
with:
2828
go-version-file: go.mod
2929

@@ -48,7 +48,7 @@ jobs:
4848
sha256sum launchpad_* > checksums.sha256
4949
5050
- name: Upload artifacts
51-
uses: actions/upload-artifact@v4
51+
uses: actions/upload-artifact@v7
5252
with:
5353
name: launchpad-release-binaries
5454
path: dist/
@@ -61,13 +61,13 @@ jobs:
6161
contents: write
6262
steps:
6363
- name: Download binaries
64-
uses: actions/download-artifact@v4
64+
uses: actions/download-artifact@v7
6565
with:
6666
name: launchpad-release-binaries
6767
path: dist/
6868

6969
- name: Create GitHub Release
70-
uses: softprops/action-gh-release@v1
70+
uses: softprops/action-gh-release@v2
7171
with:
7272
files: dist/*
7373
generate_release_notes: true

.github/workflows/smoke-test-full.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Checkout code
2020
uses: actions/checkout@v6
2121
- name: Setup Terraform
22-
uses: hashicorp/setup-terraform@v3
22+
uses: hashicorp/setup-terraform@v4
2323
- name: Run full Smoke Tests
2424
env:
2525
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}

.github/workflows/smoke-test-small.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Checkout code
1818
uses: actions/checkout@v6
1919
- name: Setup Terraform
20-
uses: hashicorp/setup-terraform@v3
20+
uses: hashicorp/setup-terraform@v4
2121
- name: Run small Smoke Tests
2222
env:
2323
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}

go.mod

Lines changed: 64 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,29 @@ require (
99
github.com/avast/retry-go v3.0.0+incompatible
1010
github.com/creasty/defaults v1.8.0
1111
github.com/denisbrodbeck/machineid v1.0.1
12-
github.com/gammazero/workerpool v1.1.3
13-
github.com/go-playground/validator/v10 v10.30.1
14-
github.com/gruntwork-io/terratest v0.50.0
15-
github.com/hashicorp/go-version v1.8.0
12+
github.com/gammazero/workerpool v1.2.1
13+
github.com/go-playground/validator/v10 v10.30.2
14+
github.com/gruntwork-io/terratest v0.56.0
15+
github.com/hashicorp/go-version v1.9.0
1616
github.com/k0sproject/dig v0.4.0
1717
github.com/k0sproject/rig v0.21.2
1818
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // unmaintained, we should drop it
1919
github.com/logrusorgru/aurora/v4 v4.0.0
20-
github.com/mattn/go-isatty v0.0.20
21-
github.com/mattn/go-shellwords v1.0.12
20+
github.com/mattn/go-isatty v0.0.21
21+
github.com/mattn/go-shellwords v1.0.13
2222
github.com/mitchellh/go-homedir v1.1.0
2323
github.com/schollz/progressbar/v3 v3.19.0
2424
github.com/segmentio/analytics-go/v3 v3.3.0
25-
github.com/sirupsen/logrus v1.9.3
25+
github.com/sirupsen/logrus v1.9.4
2626
github.com/stretchr/testify v1.11.1
2727
github.com/urfave/cli/v2 v2.27.7
2828
gopkg.in/yaml.v2 v2.4.0
29-
helm.sh/helm/v3 v3.19.4
30-
k8s.io/api v0.35.0
31-
k8s.io/apiextensions-apiserver v0.35.0
32-
k8s.io/apimachinery v0.35.0
33-
k8s.io/client-go v0.35.0
34-
k8s.io/utils v0.0.0-20260108192941-914a6e750570
29+
helm.sh/helm/v3 v3.20.2
30+
k8s.io/api v0.35.4
31+
k8s.io/apiextensions-apiserver v0.35.4
32+
k8s.io/apimachinery v0.35.4
33+
k8s.io/client-go v0.35.4
34+
k8s.io/utils v0.0.0-20260319190234-28399d86e0b5
3535
)
3636

3737
require (
@@ -55,9 +55,8 @@ require (
5555
github.com/bodgit/ntlmssp v0.0.0-20240506230425-31973bb52d9b // indirect
5656
github.com/bodgit/windows v1.0.1 // indirect
5757
github.com/chai2010/gettext-go v1.0.3 // indirect
58-
github.com/clipperhouse/stringish v0.1.1 // indirect
59-
github.com/clipperhouse/uax29/v2 v2.3.0 // indirect
60-
github.com/containerd/containerd v1.7.30 // indirect
58+
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
59+
github.com/containerd/containerd v1.7.31 // indirect
6160
github.com/containerd/errdefs v1.0.0 // indirect
6261
github.com/containerd/log v0.1.0 // indirect
6362
github.com/containerd/platforms v0.2.1 // indirect
@@ -68,27 +67,27 @@ require (
6867
github.com/emicklei/go-restful/v3 v3.13.0 // indirect
6968
github.com/evanphx/json-patch v5.9.11+incompatible // indirect
7069
github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f // indirect
71-
github.com/fatih/color v1.18.0 // indirect
72-
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
73-
github.com/gabriel-vasile/mimetype v1.4.12 // indirect
74-
github.com/gammazero/deque v1.2.0 // indirect
70+
github.com/fatih/color v1.19.0 // indirect
71+
github.com/fxamacker/cbor/v2 v2.9.1 // indirect
72+
github.com/gabriel-vasile/mimetype v1.4.13 // indirect
73+
github.com/gammazero/deque v1.2.1 // indirect
7574
github.com/go-errors/errors v1.5.1 // indirect
7675
github.com/go-gorp/gorp/v3 v3.1.0 // indirect
7776
github.com/go-logr/logr v1.4.3 // indirect
78-
github.com/go-openapi/jsonpointer v0.22.4 // indirect
79-
github.com/go-openapi/jsonreference v0.21.4 // indirect
80-
github.com/go-openapi/swag v0.25.4 // indirect
81-
github.com/go-openapi/swag/cmdutils v0.25.4 // indirect
82-
github.com/go-openapi/swag/conv v0.25.4 // indirect
83-
github.com/go-openapi/swag/fileutils v0.25.4 // indirect
84-
github.com/go-openapi/swag/jsonname v0.25.4 // indirect
85-
github.com/go-openapi/swag/jsonutils v0.25.4 // indirect
86-
github.com/go-openapi/swag/loading v0.25.4 // indirect
87-
github.com/go-openapi/swag/mangling v0.25.4 // indirect
88-
github.com/go-openapi/swag/netutils v0.25.4 // indirect
89-
github.com/go-openapi/swag/stringutils v0.25.4 // indirect
90-
github.com/go-openapi/swag/typeutils v0.25.4 // indirect
91-
github.com/go-openapi/swag/yamlutils v0.25.4 // indirect
77+
github.com/go-openapi/jsonpointer v0.23.1 // indirect
78+
github.com/go-openapi/jsonreference v0.21.5 // indirect
79+
github.com/go-openapi/swag v0.26.0 // indirect
80+
github.com/go-openapi/swag/cmdutils v0.26.0 // indirect
81+
github.com/go-openapi/swag/conv v0.26.0 // indirect
82+
github.com/go-openapi/swag/fileutils v0.26.0 // indirect
83+
github.com/go-openapi/swag/jsonname v0.26.0 // indirect
84+
github.com/go-openapi/swag/jsonutils v0.26.0 // indirect
85+
github.com/go-openapi/swag/loading v0.26.0 // indirect
86+
github.com/go-openapi/swag/mangling v0.26.0 // indirect
87+
github.com/go-openapi/swag/netutils v0.26.0 // indirect
88+
github.com/go-openapi/swag/stringutils v0.26.0 // indirect
89+
github.com/go-openapi/swag/typeutils v0.26.0 // indirect
90+
github.com/go-openapi/swag/yamlutils v0.26.0 // indirect
9291
github.com/go-playground/locales v0.14.1 // indirect
9392
github.com/go-playground/universal-translator v0.18.1 // indirect
9493
github.com/gobwas/glob v0.2.3 // indirect
@@ -105,8 +104,8 @@ require (
105104
github.com/hashicorp/go-multierror v1.1.1 // indirect
106105
github.com/hashicorp/go-safetemp v1.0.0 // indirect
107106
github.com/hashicorp/go-uuid v1.0.3 // indirect
108-
github.com/hashicorp/hcl/v2 v2.22.0 // indirect
109-
github.com/hashicorp/terraform-json v0.23.0 // indirect
107+
github.com/hashicorp/hcl/v2 v2.24.0 // indirect
108+
github.com/hashicorp/terraform-json v0.27.2 // indirect
110109
github.com/huandu/xstrings v1.5.0 // indirect
111110
github.com/inconshreveable/mousetrap v1.1.0 // indirect
112111
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
@@ -115,21 +114,21 @@ require (
115114
github.com/jcmturner/goidentity/v6 v6.0.1 // indirect
116115
github.com/jcmturner/gokrb5/v8 v8.4.4 // indirect
117116
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
118-
github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a // indirect
117+
github.com/jinzhu/copier v0.4.0 // indirect
119118
github.com/jmoiron/sqlx v1.4.0 // indirect
120119
github.com/json-iterator/go v1.1.12 // indirect
121120
github.com/kevinburke/ssh_config v1.6.0 // indirect
122-
github.com/klauspost/compress v1.18.2 // indirect
121+
github.com/klauspost/compress v1.18.5 // indirect
123122
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect
124123
github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect
125124
github.com/leodido/go-urn v1.4.0 // indirect
126-
github.com/lib/pq v1.10.9 // indirect
125+
github.com/lib/pq v1.12.3 // indirect
127126
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
128127
github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786 // indirect
129-
github.com/masterzen/winrm v0.0.0-20250927112105-5f8e6c707321 // indirect
128+
github.com/masterzen/winrm v0.0.0-20260407182533-5570be7f80cf // indirect
130129
github.com/mattn/go-colorable v0.1.14 // indirect
131-
github.com/mattn/go-runewidth v0.0.19 // indirect
132-
github.com/mattn/go-zglob v0.0.2-0.20190814121620-e3c945676326 // indirect
130+
github.com/mattn/go-runewidth v0.0.23 // indirect
131+
github.com/mattn/go-zglob v0.0.6 // indirect
133132
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
134133
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
135134
github.com/mitchellh/copystructure v1.2.0 // indirect
@@ -156,41 +155,41 @@ require (
156155
github.com/spf13/cobra v1.10.2 // indirect
157156
github.com/spf13/pflag v1.0.10 // indirect
158157
github.com/tidwall/transform v0.0.0-20201103190739-32f242e2dbde // indirect
159-
github.com/tmccombs/hcl2json v0.6.4 // indirect
158+
github.com/tmccombs/hcl2json v0.6.9 // indirect
160159
github.com/ulikunitz/xz v0.5.15 // indirect
161160
github.com/x448/float16 v0.8.4 // indirect
162161
github.com/xlab/treeprint v1.2.0 // indirect
163162
github.com/xrash/smetrics v0.0.0-20250705151800-55b8f293f342 // indirect
164-
github.com/zclconf/go-cty v1.15.0 // indirect
165-
go.yaml.in/yaml/v2 v2.4.3 // indirect
163+
github.com/zclconf/go-cty v1.18.1 // indirect
164+
go.yaml.in/yaml/v2 v2.4.4 // indirect
166165
go.yaml.in/yaml/v3 v3.0.4 // indirect
167-
golang.org/x/crypto v0.48.0 // indirect
168-
golang.org/x/mod v0.33.0 // indirect
169-
golang.org/x/net v0.51.0 // indirect
170-
golang.org/x/oauth2 v0.34.0 // indirect
166+
golang.org/x/crypto v0.50.0 // indirect
167+
golang.org/x/mod v0.35.0 // indirect
168+
golang.org/x/net v0.53.0 // indirect
169+
golang.org/x/oauth2 v0.36.0 // indirect
171170
golang.org/x/sync v0.20.0 // indirect
172-
golang.org/x/sys v0.42.0 // indirect
173-
golang.org/x/term v0.41.0 // indirect
174-
golang.org/x/text v0.35.0 // indirect
175-
golang.org/x/time v0.14.0 // indirect
176-
golang.org/x/tools v0.42.0 // indirect
177-
google.golang.org/genproto/googleapis/rpc v0.0.0-20251222181119-0a764e51fe1b // indirect
178-
google.golang.org/grpc v1.78.0 // indirect
171+
golang.org/x/sys v0.43.0 // indirect
172+
golang.org/x/term v0.42.0 // indirect
173+
golang.org/x/text v0.36.0 // indirect
174+
golang.org/x/time v0.15.0 // indirect
175+
golang.org/x/tools v0.44.0 // indirect
176+
google.golang.org/genproto/googleapis/rpc v0.0.0-20260420184626-e10c466a9529 // indirect
177+
google.golang.org/grpc v1.80.0 // indirect
179178
google.golang.org/protobuf v1.36.11 // indirect
180179
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
181180
gopkg.in/inf.v0 v0.9.1 // indirect
182181
gopkg.in/yaml.v3 v3.0.1 // indirect
183-
k8s.io/apiserver v0.35.0 // indirect
184-
k8s.io/cli-runtime v0.35.0 // indirect
185-
k8s.io/component-base v0.35.0 // indirect
186-
k8s.io/klog/v2 v2.130.1 // indirect
187-
k8s.io/kube-openapi v0.0.0-20251125145642-4e65d59e963e // indirect
188-
k8s.io/kubectl v0.35.0 // indirect
182+
k8s.io/apiserver v0.35.4 // indirect
183+
k8s.io/cli-runtime v0.35.4 // indirect
184+
k8s.io/component-base v0.35.4 // indirect
185+
k8s.io/klog/v2 v2.140.0 // indirect
186+
k8s.io/kube-openapi v0.0.0-20260414162039-ec9c827d403f // indirect
187+
k8s.io/kubectl v0.35.4 // indirect
189188
oras.land/oras-go/v2 v2.6.0 // indirect
190189
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
191-
sigs.k8s.io/kustomize/api v0.21.0 // indirect
192-
sigs.k8s.io/kustomize/kyaml v0.21.0 // indirect
190+
sigs.k8s.io/kustomize/api v0.21.1 // indirect
191+
sigs.k8s.io/kustomize/kyaml v0.21.1 // indirect
193192
sigs.k8s.io/randfill v1.0.0 // indirect
194-
sigs.k8s.io/structured-merge-diff/v6 v6.3.1 // indirect
193+
sigs.k8s.io/structured-merge-diff/v6 v6.4.0 // indirect
195194
sigs.k8s.io/yaml v1.6.0 // indirect
196195
)

0 commit comments

Comments
 (0)