Skip to content

Commit 18ec956

Browse files
authored
chore: bump dependencies (#71)
1 parent 745ae14 commit 18ec956

File tree

5 files changed

+77
-59
lines changed

5 files changed

+77
-59
lines changed

.github/workflows/pull-request.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
unit-test:
88
strategy:
99
matrix:
10-
go-version: [1.20.x]
10+
go-version: [1.23.x]
1111
platform: [ubuntu-latest]
1212
runs-on: ${{ matrix.platform }}
1313
steps:
@@ -24,7 +24,7 @@ jobs:
2424
build-test:
2525
strategy:
2626
matrix:
27-
go-version: [1.20.x]
27+
go-version: [1.23.x]
2828
platform: [ubuntu-latest]
2929
arch: [386, amd64, arm, arm64]
3030
runs-on: ${{ matrix.platform }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.20-alpine as builder
1+
FROM golang:1.23-alpine as builder
22

33
RUN apk update && apk add --no-cache git ca-certificates && update-ca-certificates
44

driver/sanity_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,6 @@ func (s *fakeHelper) CreateVolume(req *instance.CreateVolumeRequest, opts ...scw
160160
volume.VolumeType = req.VolumeType
161161
if req.Size != nil {
162162
volume.Size = *req.Size
163-
} else if req.BaseVolume != nil {
164-
baseVol, ok := s.volumesMap[*req.BaseVolume]
165-
if !ok {
166-
return nil, &scw.ResourceNotFoundError{}
167-
}
168-
volume.Size = baseVol.Size
169163
} else if req.BaseSnapshot != nil {
170164
baseSnap, ok := s.snapshotsMap[*req.BaseSnapshot]
171165
if !ok {

go.mod

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,33 @@
11
module github.com/scaleway/scaleway-csi
22

3-
go 1.20
3+
go 1.23.0
4+
5+
toolchain go1.23.3
46

57
require (
68
github.com/container-storage-interface/spec v1.6.0
7-
github.com/golang/protobuf v1.5.3
8-
github.com/google/uuid v1.3.0
9+
github.com/golang/protobuf v1.5.4
10+
github.com/google/uuid v1.6.0
911
github.com/kubernetes-csi/csi-test/v5 v5.0.0
10-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.21.0.20230918151823-4f048611ed7c
11-
golang.org/x/sys v0.9.0
12-
google.golang.org/grpc v1.56.1
13-
google.golang.org/protobuf v1.30.0
14-
k8s.io/klog/v2 v2.100.1
15-
k8s.io/mount-utils v0.27.3
16-
k8s.io/utils v0.0.0-20230505201702-9f6742963106
12+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30
13+
golang.org/x/sys v0.29.0
14+
google.golang.org/grpc v1.69.4
15+
google.golang.org/protobuf v1.36.3
16+
k8s.io/klog/v2 v2.130.1
17+
k8s.io/mount-utils v0.32.1
18+
k8s.io/utils v0.0.0-20241210054802-24370beab758
1719
)
1820

1921
require (
20-
github.com/go-logr/logr v1.2.3 // indirect
21-
github.com/google/go-cmp v0.5.9 // indirect
22+
github.com/go-logr/logr v1.4.2 // indirect
23+
github.com/google/go-cmp v0.6.0 // indirect
2224
github.com/kr/text v0.2.0 // indirect
23-
github.com/moby/sys/mountinfo v0.6.2 // indirect
25+
github.com/moby/sys/mountinfo v0.7.2 // indirect
26+
github.com/moby/sys/userns v0.1.0 // indirect
2427
github.com/onsi/ginkgo/v2 v2.1.4 // indirect
2528
github.com/onsi/gomega v1.20.0 // indirect
26-
github.com/rogpeppe/go-internal v1.10.0 // indirect
27-
golang.org/x/net v0.9.0 // indirect
28-
golang.org/x/text v0.9.0 // indirect
29+
golang.org/x/net v0.30.0 // indirect
30+
golang.org/x/text v0.19.0 // indirect
2931
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
3032
gopkg.in/yaml.v2 v2.4.0 // indirect
3133
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)