Skip to content

Commit 5bb5e00

Browse files
authored
Update go.uber.org/mock to v0.5.0 (#408)
And disable automatic updates in dependabot.yml Signed-off-by: Antonin Bas <[email protected]>
1 parent c5a70d6 commit 5bb5e00

File tree

6 files changed

+42
-36
lines changed

6 files changed

+42
-36
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ updates:
1111
- "golang.org/x/*"
1212
ignore:
1313
- dependency-name: "k8s.io/*"
14+
# Skip in Dependabot because it should stay consistent with GOMOCK_VERSION in the Makefile.
15+
- dependency-name: "go.uber.org/mock"
1416
- package-ecosystem: "github-actions"
1517
# Workflow files stored in the default location of `.github/workflows`
1618
directory: "/"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GO ?= go
22
GOPATH ?= $$($(GO) env GOPATH)
33
BINDIR ?= $(CURDIR)/bin
4-
GOMOCK_VERSION := v0.3.0
4+
GOMOCK_VERSION := v0.5.0
55
PROTOC_GEN_GO_VERSION := v1.28.1
66
GOLANGCI_LINT_VERSION := v1.60.3
77
GOLANGCI_LINT_BINDIR := .golangci-bin

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/spf13/cobra v1.8.1
99
github.com/spf13/pflag v1.0.6
1010
github.com/stretchr/testify v1.10.0
11-
go.uber.org/mock v0.4.0
11+
go.uber.org/mock v0.5.0
1212
google.golang.org/protobuf v1.36.5
1313
k8s.io/apimachinery v0.31.0
1414
k8s.io/component-base v0.31.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcY
128128
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
129129
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
130130
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
131-
go.uber.org/mock v0.4.0 h1:VcM4ZOtdbR4f6VXfiOpwpVJDL6lCReaZ6mw31wqh7KU=
132-
go.uber.org/mock v0.4.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc=
131+
go.uber.org/mock v0.5.0 h1:KAMbZvZPyBPWgD14IrIQ38QCyjwpvVVV6K/bHl1IwQU=
132+
go.uber.org/mock v0.5.0/go.mod h1:ge71pBPLYDk7QIi1LupWxdAykm7KIEFchiOqd6z7qMM=
133133
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
134134
go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
135135
go.uber.org/zap v1.26.0 h1:sI7k6L95XOKS281NhVKOFCUNIvv9e0w4BF8N3u+tCRo=

pkg/entities/testing/mock_record.go

Lines changed: 14 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/entities/testing/mock_set.go

Lines changed: 22 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)