Skip to content

Commit 1e58d4d

Browse files
committed
chore: upgrade dependencies
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
1 parent 95537d5 commit 1e58d4d

File tree

4 files changed

+151
-219
lines changed

4 files changed

+151
-219
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Go
2121
uses: actions/setup-go@v2
2222
with:
23-
go-version: "1.20"
23+
go-version: "1.25"
2424

2525
- name: Set up QEMU dependency
2626
uses: docker/setup-qemu-action@v1
@@ -74,7 +74,7 @@ jobs:
7474
- name: Set up Go
7575
uses: actions/setup-go@v2
7676
with:
77-
go-version: "1.20"
77+
go-version: "1.25"
7878

7979
- name: Set up QEMU dependency
8080
uses: docker/setup-qemu-action@v1
@@ -125,7 +125,7 @@ jobs:
125125
- name: Set up Go
126126
uses: actions/setup-go@v2
127127
with:
128-
go-version: "1.20"
128+
go-version: "1.25"
129129

130130
- name: Set up QEMU dependency
131131
uses: docker/setup-qemu-action@v1
@@ -163,7 +163,7 @@ jobs:
163163
- name: Set up Go
164164
uses: actions/setup-go@v2
165165
with:
166-
go-version: "1.20"
166+
go-version: "1.25"
167167

168168
- name: Share cache with other actions
169169
uses: actions/cache@v3
@@ -192,7 +192,7 @@ jobs:
192192
- name: Set up Go
193193
uses: actions/setup-go@v2
194194
with:
195-
go-version: "1.20"
195+
go-version: "1.25"
196196

197197
- name: Set up QEMU dependency
198198
uses: docker/setup-qemu-action@v1
@@ -252,7 +252,7 @@ jobs:
252252
- name: Set up Go
253253
uses: actions/setup-go@v2
254254
with:
255-
go-version: "1.20"
255+
go-version: "1.25"
256256

257257
- name: Set up QEMU dependency
258258
uses: docker/setup-qemu-action@v1
@@ -305,7 +305,7 @@ jobs:
305305
- name: Set up Go
306306
uses: actions/setup-go@v2
307307
with:
308-
go-version: "1.20"
308+
go-version: "1.25"
309309

310310
- name: Share cache with other actions
311311
uses: actions/cache@v3
@@ -354,7 +354,7 @@ jobs:
354354
- name: Set up Go
355355
uses: actions/setup-go@v2
356356
with:
357-
go-version: "1.20"
357+
go-version: "1.25"
358358

359359
- name: Set up QEMU dependency
360360
uses: docker/setup-qemu-action@v1

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM golang:1.20 as builder
15+
FROM golang:1.25 as builder
1616

1717
WORKDIR /d2vm
1818

go.mod

Lines changed: 41 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,60 @@
11
module go.linka.cloud/d2vm
22

3-
go 1.20
3+
go 1.25
44

55
require (
6-
github.com/c2h5oh/datasize v0.0.0-20220606134207-859f65c6625b
7-
github.com/dustin/go-humanize v1.0.0
8-
github.com/fatih/color v1.13.0
9-
github.com/google/go-containerregistry v0.14.0
10-
github.com/google/uuid v1.3.0
11-
github.com/hetznercloud/hcloud-go v1.50.0
6+
github.com/c2h5oh/datasize v0.0.0-20231215233829-aa82cc1e6500
7+
github.com/dustin/go-humanize v1.0.1
8+
github.com/fatih/color v1.18.0
9+
github.com/google/go-containerregistry v0.20.7
10+
github.com/google/uuid v1.6.0
11+
github.com/hetznercloud/hcloud-go v1.59.2
1212
github.com/joho/godotenv v1.5.1
13-
github.com/pkg/sftp v1.10.1
14-
github.com/sirupsen/logrus v1.9.0
15-
github.com/spf13/cobra v1.7.0
16-
github.com/spf13/pflag v1.0.5
17-
github.com/stretchr/testify v1.8.4
18-
github.com/svenwiltink/sparsecat v1.0.0
19-
go.linka.cloud/console v0.0.0-20220910100646-48f9f2b8843b
13+
github.com/pkg/sftp v1.13.10
14+
github.com/sirupsen/logrus v1.9.4
15+
github.com/spf13/cobra v1.10.2
16+
github.com/spf13/pflag v1.0.10
17+
github.com/stretchr/testify v1.11.1
18+
github.com/svenwiltink/sparsecat v1.0.1
19+
go.linka.cloud/console v0.0.0-20221115093718-f725374f9010
2020
go.uber.org/multierr v1.11.0
21-
golang.org/x/crypto v0.11.0
22-
golang.org/x/sys v0.10.0
21+
golang.org/x/crypto v0.47.0
22+
golang.org/x/sys v0.40.0
2323
)
2424

2525
require (
26-
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
26+
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect
2727
github.com/beorn7/perks v1.0.1 // indirect
28-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
29-
github.com/containerd/stargz-snapshotter/estargz v0.14.3 // indirect
30-
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
31-
github.com/creack/pty v1.1.15 // indirect
28+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
29+
github.com/containerd/stargz-snapshotter/estargz v0.18.2 // indirect
30+
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
3231
github.com/davecgh/go-spew v1.1.1 // indirect
33-
github.com/docker/cli v23.0.4+incompatible // indirect
34-
github.com/docker/distribution v2.8.2+incompatible // indirect
35-
github.com/docker/docker v23.0.4+incompatible // indirect
36-
github.com/docker/docker-credential-helpers v0.7.0 // indirect
37-
github.com/golang/protobuf v1.5.3 // indirect
38-
github.com/google/go-cmp v0.5.9 // indirect
32+
github.com/docker/cli v29.1.5+incompatible // indirect
33+
github.com/docker/distribution v2.8.3+incompatible // indirect
34+
github.com/docker/docker-credential-helpers v0.9.5 // indirect
35+
github.com/google/go-cmp v0.7.0 // indirect
3936
github.com/inconshreveable/mousetrap v1.1.0 // indirect
40-
github.com/klauspost/compress v1.16.5 // indirect
37+
github.com/klauspost/compress v1.18.3 // indirect
4138
github.com/kr/fs v0.1.0 // indirect
42-
github.com/kr/pretty v0.3.1 // indirect
43-
github.com/mattn/go-colorable v0.1.12 // indirect
44-
github.com/mattn/go-isatty v0.0.14 // indirect
45-
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
39+
github.com/mattn/go-colorable v0.1.14 // indirect
40+
github.com/mattn/go-isatty v0.0.20 // indirect
4641
github.com/mitchellh/go-homedir v1.1.0 // indirect
47-
github.com/moby/term v0.0.0-20220808134915-39b0c02b01ae // indirect
42+
github.com/moby/term v0.5.2 // indirect
43+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
4844
github.com/opencontainers/go-digest v1.0.0 // indirect
49-
github.com/opencontainers/image-spec v1.1.0-rc2 // indirect
50-
github.com/pkg/errors v0.9.1 // indirect
45+
github.com/opencontainers/image-spec v1.1.1 // indirect
5146
github.com/pmezard/go-difflib v1.0.0 // indirect
52-
github.com/prometheus/client_golang v1.16.0 // indirect
53-
github.com/prometheus/client_model v0.3.0 // indirect
54-
github.com/prometheus/common v0.42.0 // indirect
55-
github.com/prometheus/procfs v0.10.1 // indirect
47+
github.com/prometheus/client_golang v1.23.2 // indirect
48+
github.com/prometheus/client_model v0.6.2 // indirect
49+
github.com/prometheus/common v0.67.5 // indirect
50+
github.com/prometheus/procfs v0.19.2 // indirect
5651
github.com/russross/blackfriday/v2 v2.1.0 // indirect
57-
github.com/vbatts/tar-split v0.11.3 // indirect
58-
golang.org/x/net v0.12.0 // indirect
59-
golang.org/x/sync v0.2.0 // indirect
60-
golang.org/x/text v0.11.0 // indirect
61-
google.golang.org/protobuf v1.30.0 // indirect
52+
github.com/vbatts/tar-split v0.12.2 // indirect
53+
go.yaml.in/yaml/v2 v2.4.3 // indirect
54+
go.yaml.in/yaml/v3 v3.0.4 // indirect
55+
golang.org/x/net v0.49.0 // indirect
56+
golang.org/x/sync v0.19.0 // indirect
57+
golang.org/x/text v0.33.0 // indirect
58+
google.golang.org/protobuf v1.36.11 // indirect
6259
gopkg.in/yaml.v3 v3.0.1 // indirect
6360
)
64-
65-
replace (
66-
github.com/prometheus/client_golang => github.com/prometheus/client_golang v1.11.1
67-
golang.org/x/crypto => golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b
68-
google.golang.org/protobuf => google.golang.org/protobuf v1.29.1
69-
)

0 commit comments

Comments
 (0)