Skip to content

Commit 33919fa

Browse files
authored
Update Go, Docker, and Actions dependencies (#39)
1 parent 572498c commit 33919fa

12 files changed

Lines changed: 1046 additions & 836 deletions

.github/workflows/build.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,11 @@ jobs:
1212
go:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v5
1616

17-
- name: Determine Go version from go.mod
18-
run: echo "GO_VERSION=$(grep "go 1." go.mod | cut -d " " -f 2 | cut -d "." -f 1,2)" >> $GITHUB_ENV
19-
20-
- uses: actions/setup-go@v5
17+
- uses: actions/setup-go@v6
2118
with:
22-
go-version: ${{ env.GO_VERSION }}
19+
go-version-file: 'go.mod'
2320

2421
- name: Run build
2522
run: make build

.github/workflows/lint.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,11 @@ jobs:
77
lint:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v4
10+
- uses: actions/checkout@v5
1111

12-
- name: Determine Go version from go.mod
13-
run: echo "GO_VERSION=$(grep "go 1." go.mod | cut -d " " -f 2 | cut -d "." -f 1,2)" >> $GITHUB_ENV
14-
15-
- uses: actions/setup-go@v5
12+
- uses: actions/setup-go@v6
1613
with:
17-
go-version: ${{ env.GO_VERSION }}
14+
go-version-file: 'go.mod'
1815

1916
- name: Run linters
2017
run: make lint

.github/workflows/release.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,13 @@ jobs:
99
goreleaser:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v5
1313
with:
1414
fetch-depth: 0
1515

16-
- name: Determine Go version from go.mod
17-
run: echo "GO_VERSION=$(grep "go 1." go.mod | cut -d " " -f 2 | cut -d "." -f 1,2)" >> $GITHUB_ENV
18-
19-
- uses: actions/setup-go@v5
16+
- uses: actions/setup-go@v6
2017
with:
21-
go-version: ${{ env.GO_VERSION }}
18+
go-version-file: 'go.mod'
2219

2320
- name: Set up QEMU
2421
uses: docker/setup-qemu-action@v3
@@ -35,7 +32,7 @@ jobs:
3532

3633
- name: Build changelog from PRs with labels
3734
id: build_changelog
38-
uses: mikepenz/release-changelog-builder-action@v5
35+
uses: mikepenz/release-changelog-builder-action@v6
3936
with:
4037
configuration: ".github/changelog-configuration.json"
4138
# PreReleases still get a changelog, but the next full release gets a diff since the last full release,

.github/workflows/test.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,11 @@ jobs:
1212
test:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v5
1616

17-
- name: Determine Go version from go.mod
18-
run: echo "GO_VERSION=$(grep "go 1." go.mod | cut -d " " -f 2 | cut -d "." -f 1,2)" >> $GITHUB_ENV
19-
20-
- uses: actions/setup-go@v5
17+
- uses: actions/setup-go@v6
2118
with:
22-
go-version: ${{ env.GO_VERSION }}
19+
go-version-file: 'go.mod'
2320

2421
- name: Run tests
2522
run: make test

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/library/alpine:3.21 as runtime
1+
FROM docker.io/library/alpine:3.22
22

33
RUN \
44
apk add --update --no-cache \

config/crds/machine.openshift.io.crd.yaml

Lines changed: 246 additions & 199 deletions
Large diffs are not rendered by default.

config/crds/machinehealthcheck.openshift.io.crd.yaml

Lines changed: 114 additions & 97 deletions
Large diffs are not rendered by default.

config/crds/machineset.openshift.io.crd.yaml

Lines changed: 299 additions & 269 deletions
Large diffs are not rendered by default.

go.mod

Lines changed: 83 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,116 +1,128 @@
11
module github.com/appuio/machine-api-provider-cloudscale
22

3-
go 1.23.0
4-
5-
toolchain go1.24.1
3+
go 1.25
64

75
require (
8-
github.com/cloudscale-ch/cloudscale-go-sdk/v5 v5.0.1
9-
github.com/google/go-jsonnet v0.20.0
10-
github.com/openshift/api v0.0.0-20240924155631-232984653385
11-
github.com/openshift/library-go v0.0.0-20240919205913-c96b82b3762b
6+
github.com/cenkalti/backoff/v5 v5.0.3
7+
github.com/cloudscale-ch/cloudscale-go-sdk/v5 v5.1.0
8+
github.com/google/go-jsonnet v0.21.0
9+
github.com/openshift/api v0.0.0-20251120040117-916c7003ed78
10+
github.com/openshift/library-go v0.0.0-20251119174848-88c26bf0df68
1211
github.com/openshift/machine-api-operator v0.2.1-0.20241009125928-52a965a42fac
13-
github.com/stretchr/testify v1.10.0
14-
go.uber.org/mock v0.5.0
15-
k8s.io/api v0.31.4
16-
k8s.io/apimachinery v0.31.4
17-
k8s.io/apiserver v0.31.4
18-
k8s.io/client-go v0.31.4
19-
k8s.io/component-base v0.31.4
12+
github.com/stretchr/testify v1.11.1
13+
go.uber.org/mock v0.6.0
14+
k8s.io/api v0.34.2
15+
k8s.io/apimachinery v0.34.2
16+
k8s.io/apiserver v0.34.2
17+
k8s.io/client-go v0.34.2
18+
k8s.io/component-base v0.34.2
2019
k8s.io/klog/v2 v2.130.1
21-
k8s.io/utils v0.0.0-20241210054802-24370beab758
22-
sigs.k8s.io/controller-runtime v0.19.3
23-
sigs.k8s.io/controller-tools v0.16.5
24-
sigs.k8s.io/yaml v1.4.0
20+
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4
21+
sigs.k8s.io/controller-runtime v0.22.4
22+
sigs.k8s.io/controller-tools v0.19.0
23+
sigs.k8s.io/yaml v1.6.0
2524
)
2625

2726
require (
28-
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
27+
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect
2928
github.com/MakeNowJust/heredoc v1.0.0 // indirect
3029
github.com/beorn7/perks v1.0.1 // indirect
3130
github.com/blang/semver/v4 v4.0.0 // indirect
3231
github.com/cespare/xxhash/v2 v2.3.0 // indirect
3332
github.com/chai2010/gettext-go v1.0.3 // indirect
3433
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
35-
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
34+
github.com/emicklei/go-restful/v3 v3.13.0 // indirect
3635
github.com/evanphx/json-patch v5.9.0+incompatible // indirect
37-
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
36+
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
3837
github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f // indirect
3938
github.com/fatih/color v1.18.0 // indirect
40-
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
39+
github.com/fsnotify/fsnotify v1.9.0 // indirect
40+
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
4141
github.com/go-errors/errors v1.5.1 // indirect
42-
github.com/go-logr/logr v1.4.2 // indirect
42+
github.com/go-logr/logr v1.4.3 // indirect
4343
github.com/go-logr/zapr v1.3.0 // indirect
44-
github.com/go-openapi/jsonpointer v0.21.0 // indirect
45-
github.com/go-openapi/jsonreference v0.21.0 // indirect
46-
github.com/go-openapi/swag v0.23.0 // indirect
44+
github.com/go-openapi/jsonpointer v0.22.3 // indirect
45+
github.com/go-openapi/jsonreference v0.21.3 // indirect
46+
github.com/go-openapi/swag v0.25.3 // indirect
47+
github.com/go-openapi/swag/cmdutils v0.25.3 // indirect
48+
github.com/go-openapi/swag/conv v0.25.3 // indirect
49+
github.com/go-openapi/swag/fileutils v0.25.3 // indirect
50+
github.com/go-openapi/swag/jsonname v0.25.3 // indirect
51+
github.com/go-openapi/swag/jsonutils v0.25.3 // indirect
52+
github.com/go-openapi/swag/loading v0.25.3 // indirect
53+
github.com/go-openapi/swag/mangling v0.25.3 // indirect
54+
github.com/go-openapi/swag/netutils v0.25.3 // indirect
55+
github.com/go-openapi/swag/stringutils v0.25.3 // indirect
56+
github.com/go-openapi/swag/typeutils v0.25.3 // indirect
57+
github.com/go-openapi/swag/yamlutils v0.25.3 // indirect
4758
github.com/gobuffalo/flect v1.0.3 // indirect
4859
github.com/gogo/protobuf v1.3.2 // indirect
49-
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
50-
github.com/golang/protobuf v1.5.4 // indirect
5160
github.com/google/btree v1.1.3 // indirect
52-
github.com/google/gnostic-models v0.6.8 // indirect
53-
github.com/google/go-cmp v0.6.0 // indirect
54-
github.com/google/gofuzz v1.2.0 // indirect
55-
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
61+
github.com/google/gnostic-models v0.7.1 // indirect
62+
github.com/google/go-cmp v0.7.0 // indirect
5663
github.com/google/uuid v1.6.0 // indirect
57-
github.com/gorilla/websocket v1.5.3 // indirect
64+
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect
5865
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
59-
github.com/imdario/mergo v0.3.16 // indirect
6066
github.com/inconshreveable/mousetrap v1.1.0 // indirect
61-
github.com/josharian/intern v1.0.0 // indirect
6267
github.com/json-iterator/go v1.1.12 // indirect
63-
github.com/klauspost/compress v1.17.10 // indirect
68+
github.com/klauspost/compress v1.18.1 // indirect
6469
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
65-
github.com/mailru/easyjson v0.7.7 // indirect
66-
github.com/mattn/go-colorable v0.1.13 // indirect
70+
github.com/mattn/go-colorable v0.1.14 // indirect
6771
github.com/mattn/go-isatty v0.0.20 // indirect
6872
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
6973
github.com/moby/spdystream v0.5.0 // indirect
70-
github.com/moby/term v0.5.0 // indirect
74+
github.com/moby/term v0.5.2 // indirect
7175
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
72-
github.com/modern-go/reflect2 v1.0.2 // indirect
76+
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
7377
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
7478
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
7579
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
76-
github.com/onsi/gomega v1.34.2 // indirect
77-
github.com/openshift/client-go v0.0.0-20240918182115-6a8ead8397fd // indirect
80+
github.com/onsi/gomega v1.38.2 // indirect
81+
github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235 // indirect
7882
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
79-
github.com/pkg/errors v0.9.1 // indirect
8083
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
81-
github.com/prometheus/client_golang v1.20.4 // indirect
82-
github.com/prometheus/client_model v0.6.1 // indirect
83-
github.com/prometheus/common v0.60.0 // indirect
84-
github.com/prometheus/procfs v0.15.1 // indirect
84+
github.com/prometheus/client_golang v1.23.2 // indirect
85+
github.com/prometheus/client_model v0.6.2 // indirect
86+
github.com/prometheus/common v0.67.3 // indirect
87+
github.com/prometheus/procfs v0.19.2 // indirect
8588
github.com/russross/blackfriday/v2 v2.1.0 // indirect
86-
github.com/spf13/cobra v1.8.1 // indirect
87-
github.com/spf13/pflag v1.0.5 // indirect
89+
github.com/spf13/cobra v1.10.1 // indirect
90+
github.com/spf13/pflag v1.0.10 // indirect
8891
github.com/x448/float16 v0.8.4 // indirect
8992
github.com/xlab/treeprint v1.2.0 // indirect
93+
go.opentelemetry.io/otel v1.38.0 // indirect
94+
go.opentelemetry.io/otel/trace v1.38.0 // indirect
9095
go.uber.org/multierr v1.11.0 // indirect
91-
go.uber.org/zap v1.27.0 // indirect
92-
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c // indirect
93-
golang.org/x/mod v0.21.0 // indirect
94-
golang.org/x/net v0.36.0 // indirect
95-
golang.org/x/oauth2 v0.23.0 // indirect
96-
golang.org/x/sync v0.11.0 // indirect
97-
golang.org/x/sys v0.30.0 // indirect
98-
golang.org/x/term v0.29.0 // indirect
99-
golang.org/x/text v0.22.0 // indirect
100-
golang.org/x/time v0.7.0 // indirect
101-
golang.org/x/tools v0.26.0 // indirect
102-
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
103-
google.golang.org/protobuf v1.35.1 // indirect
104-
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
96+
go.uber.org/zap v1.27.1 // indirect
97+
go.yaml.in/yaml/v2 v2.4.3 // indirect
98+
go.yaml.in/yaml/v3 v3.0.4 // indirect
99+
golang.org/x/crypto v0.45.0 // indirect
100+
golang.org/x/exp v0.0.0-20251113190631-e25ba8c21ef6 // indirect
101+
golang.org/x/mod v0.30.0 // indirect
102+
golang.org/x/net v0.47.0 // indirect
103+
golang.org/x/oauth2 v0.33.0 // indirect
104+
golang.org/x/sync v0.18.0 // indirect
105+
golang.org/x/sys v0.38.0 // indirect
106+
golang.org/x/term v0.37.0 // indirect
107+
golang.org/x/text v0.31.0 // indirect
108+
golang.org/x/time v0.14.0 // indirect
109+
golang.org/x/tools v0.39.0 // indirect
110+
golang.org/x/tools/go/expect v0.1.1-deprecated // indirect
111+
gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect
112+
google.golang.org/protobuf v1.36.10 // indirect
113+
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
105114
gopkg.in/inf.v0 v0.9.1 // indirect
106115
gopkg.in/yaml.v2 v2.4.0 // indirect
107116
gopkg.in/yaml.v3 v3.0.1 // indirect
108-
k8s.io/apiextensions-apiserver v0.31.2 // indirect
109-
k8s.io/cli-runtime v0.31.1 // indirect
110-
k8s.io/kube-openapi v0.0.0-20241009091222-67ed5848f094 // indirect
111-
k8s.io/kubectl v0.31.1 // indirect
112-
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
113-
sigs.k8s.io/kustomize/api v0.18.0 // indirect
114-
sigs.k8s.io/kustomize/kyaml v0.18.1 // indirect
115-
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
117+
k8s.io/apiextensions-apiserver v0.34.2 // indirect
118+
k8s.io/cli-runtime v0.34.2 // indirect
119+
k8s.io/code-generator v0.34.2 // indirect
120+
k8s.io/gengo/v2 v2.0.0-20250922181213-ec3ebc5fd46b // indirect
121+
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 // indirect
122+
k8s.io/kubectl v0.34.2 // indirect
123+
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
124+
sigs.k8s.io/kustomize/api v0.21.0 // indirect
125+
sigs.k8s.io/kustomize/kyaml v0.21.0 // indirect
126+
sigs.k8s.io/randfill v1.0.0 // indirect
127+
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect
116128
)

0 commit comments

Comments
 (0)