Skip to content

Commit 8945942

Browse files
committed
Update dependencies
1 parent d6434d1 commit 8945942

File tree

7 files changed

+228
-251
lines changed

7 files changed

+228
-251
lines changed

Makefile

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ DOCKERBUILDARG=--build-arg HOST_USER="$(shell id -u ${USER})" --build-arg HOST_G
146146
GO=GOPATH=$(GOPATH) GOPRIVATE=$(CVSPATH) $(shell which go)
147147
GOVERSION=${shell go version | grep -Po '(go[0-9]+.[0-9]+)'}
148148
GOFMT=$(shell which gofmt)
149-
GOTEST=GOPATH=$(GOPATH) $(shell which gotest)
149+
GOTEST=$(GO) test
150150
GODOC=GOPATH=$(GOPATH) $(shell which godoc)
151151
GOLANGCILINT=$(BINUTIL)/golangci-lint
152-
GOLANGCILINTVERSION=v2.2.1
152+
GOLANGCILINTVERSION=v2.4.0
153153
DOCKERIZEVERSION=v0.9.2
154154

155155
# Current operating system and architecture as one string.
@@ -394,12 +394,6 @@ endif
394394
.PHONY: deps
395395
deps: ensuretarget
396396
curl --silent --show-error --fail --location https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(BINUTIL) $(GOLANGCILINTVERSION)
397-
$(GO) install github.com/golang/mock/mockgen
398-
$(GO) install github.com/hairyhenderson/gomplate/v4/cmd/gomplate@latest
399-
$(GO) install github.com/jstemmer/go-junit-report/v2@latest
400-
$(GO) install github.com/mikefarah/yq/v4@latest
401-
$(GO) install github.com/rakyll/gotest
402-
$(GO) install github.com/santhosh-tekuri/jsonschema/cmd/jv@latest
403397

404398
# Build a docker container to run this service
405399
.PHONY: docker
@@ -574,7 +568,7 @@ linter:
574568

575569
# Download dependencies
576570
.PHONY: mod
577-
mod:
571+
mod: gotools
578572
$(GO) mod download all
579573

580574
# Test the OpenAPI specification against the real deployed service
@@ -649,6 +643,15 @@ test: ensuretarget
649643
-v $(GOPKGS) $(TESTEXTRACMD)
650644
@echo -e "\n\n>>> END: Unit Tests <<<\n\n"
651645

646+
# Get the go tools
647+
.PHONY: gotools
648+
gotools:
649+
$(GO) get -tool go.uber.org/mock/mockgen@latest
650+
$(GO) install github.com/jstemmer/go-junit-report/v2@latest
651+
$(GO) install github.com/hairyhenderson/gomplate/v4/cmd/gomplate@latest
652+
$(GO) install github.com/mikefarah/yq/v4@latest
653+
$(GO) install github.com/santhosh-tekuri/jsonschema/cmd/jv@latest
654+
652655
# Remove all installed files (excluding configuration files)
653656
.PHONY: uninstall
654657
uninstall:
@@ -675,8 +678,9 @@ updatelint:
675678

676679
# Update dependencies
677680
.PHONY: updatemod
678-
updatemod:
679-
$(GO) get -t -u ./... && go mod tidy -compat=$(shell grep -oP 'go \K[0-9]+\.[0-9]+' go.mod)
681+
updatemod: mod
682+
$(GO) get -t -u ./... && \
683+
$(GO) mod tidy -compat=$(shell grep -oP 'go \K[0-9]+\.[0-9]+' go.mod)
680684

681685
# Run venom tests (https://github.com/ovh/venom)
682686
.PHONY: venomtest

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.4.2
1+
5.4.3

go.mod

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
11
module github.com/tecnickcom/rndpwd
22

3-
go 1.24
3+
go 1.25
44

5-
toolchain go1.24.5
5+
toolchain go1.25.0
6+
7+
tool go.uber.org/mock/mockgen
68

79
require (
8-
github.com/Vonage/gosrvlib v1.102.6
10+
github.com/Vonage/gosrvlib v1.102.13
911
github.com/go-playground/validator/v10 v10.27.0
10-
github.com/golang/mock v1.6.0
11-
github.com/jstemmer/go-junit-report/v2 v2.1.0
12-
github.com/prometheus/client_golang v1.22.0
13-
github.com/rakyll/gotest v0.0.6
12+
github.com/prometheus/client_golang v1.23.0
1413
github.com/spf13/cobra v1.9.1
1514
github.com/spf13/viper v1.20.1
1615
github.com/stretchr/testify v1.10.0
1716
go.uber.org/zap v1.27.0
1817
)
1918

2019
require (
21-
cloud.google.com/go v0.121.3 // indirect
22-
cloud.google.com/go/auth v0.16.2 // indirect
20+
cloud.google.com/go v0.121.6 // indirect
21+
cloud.google.com/go/auth v0.16.5 // indirect
2322
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
24-
cloud.google.com/go/compute/metadata v0.7.0 // indirect
23+
cloud.google.com/go/compute/metadata v0.8.0 // indirect
2524
cloud.google.com/go/firestore v1.18.0 // indirect
2625
cloud.google.com/go/longrunning v0.6.7 // indirect
2726
github.com/armon/go-metrics v0.4.1 // indirect
@@ -39,12 +38,12 @@ require (
3938
github.com/go-logr/stdr v1.2.2 // indirect
4039
github.com/go-playground/locales v0.14.1 // indirect
4140
github.com/go-playground/universal-translator v0.18.1 // indirect
42-
github.com/go-viper/mapstructure/v2 v2.3.0 // indirect
41+
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
4342
github.com/gogo/protobuf v1.3.2 // indirect
4443
github.com/golang/protobuf v1.5.4 // indirect
4544
github.com/google/s2a-go v0.1.9 // indirect
4645
github.com/googleapis/enterprise-certificate-proxy v0.3.6 // indirect
47-
github.com/googleapis/gax-go/v2 v2.14.2 // indirect
46+
github.com/googleapis/gax-go/v2 v2.15.0 // indirect
4847
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.1 // indirect
4948
github.com/hashicorp/consul/api v1.32.1 // indirect
5049
github.com/hashicorp/errwrap v1.1.0 // indirect
@@ -69,7 +68,7 @@ require (
6968
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
7069
github.com/modern-go/reflect2 v1.0.2 // indirect
7170
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
72-
github.com/nats-io/nats.go v1.43.0 // indirect
71+
github.com/nats-io/nats.go v1.44.0 // indirect
7372
github.com/nats-io/nkeys v0.4.11 // indirect
7473
github.com/nats-io/nuid v1.0.1 // indirect
7574
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
@@ -78,40 +77,41 @@ require (
7877
github.com/prometheus/client_model v0.6.2 // indirect
7978
github.com/prometheus/common v0.65.0 // indirect
8079
github.com/prometheus/procfs v0.17.0 // indirect
81-
github.com/sagikazarmark/crypt v0.29.0 // indirect
82-
github.com/sagikazarmark/locafero v0.9.0 // indirect
83-
github.com/sourcegraph/conc v0.3.0 // indirect
80+
github.com/sagikazarmark/crypt v0.30.0 // indirect
81+
github.com/sagikazarmark/locafero v0.10.0 // indirect
82+
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
8483
github.com/spf13/afero v1.14.0 // indirect
8584
github.com/spf13/cast v1.9.2 // indirect
86-
github.com/spf13/pflag v1.0.6 // indirect
85+
github.com/spf13/pflag v1.0.7 // indirect
8786
github.com/spf13/viper/remote v1.20.1 // indirect
8887
github.com/subosito/gotenv v1.6.0 // indirect
89-
go.etcd.io/etcd/api/v3 v3.6.1 // indirect
90-
go.etcd.io/etcd/client/pkg/v3 v3.6.1 // indirect
91-
go.etcd.io/etcd/client/v2 v2.305.21 // indirect
92-
go.etcd.io/etcd/client/v3 v3.6.1 // indirect
88+
go.etcd.io/etcd/api/v3 v3.6.4 // indirect
89+
go.etcd.io/etcd/client/pkg/v3 v3.6.4 // indirect
90+
go.etcd.io/etcd/client/v2 v2.305.22 // indirect
91+
go.etcd.io/etcd/client/v3 v3.6.4 // indirect
9392
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
9493
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.62.0 // indirect
9594
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.62.0 // indirect
9695
go.opentelemetry.io/otel v1.37.0 // indirect
9796
go.opentelemetry.io/otel/metric v1.37.0 // indirect
9897
go.opentelemetry.io/otel/trace v1.37.0 // indirect
98+
go.uber.org/mock v0.6.0 // indirect
9999
go.uber.org/multierr v1.11.0 // indirect
100-
golang.org/x/crypto v0.39.0 // indirect
101-
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b // indirect
102-
golang.org/x/mod v0.25.0 // indirect
103-
golang.org/x/net v0.41.0 // indirect
100+
golang.org/x/crypto v0.41.0 // indirect
101+
golang.org/x/exp v0.0.0-20250813145105-42675adae3e6 // indirect
102+
golang.org/x/mod v0.27.0 // indirect
103+
golang.org/x/net v0.43.0 // indirect
104104
golang.org/x/oauth2 v0.30.0 // indirect
105105
golang.org/x/sync v0.16.0 // indirect
106-
golang.org/x/sys v0.34.0 // indirect
107-
golang.org/x/text v0.27.0 // indirect
106+
golang.org/x/sys v0.35.0 // indirect
107+
golang.org/x/text v0.28.0 // indirect
108108
golang.org/x/time v0.12.0 // indirect
109-
golang.org/x/tools v0.34.0 // indirect
110-
google.golang.org/api v0.241.0 // indirect
111-
google.golang.org/genproto v0.0.0-20250707201910-8d1bb00bc6a7 // indirect
112-
google.golang.org/genproto/googleapis/api v0.0.0-20250707201910-8d1bb00bc6a7 // indirect
113-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250707201910-8d1bb00bc6a7 // indirect
114-
google.golang.org/grpc v1.73.0 // indirect
115-
google.golang.org/protobuf v1.36.6 // indirect
109+
golang.org/x/tools v0.36.0 // indirect
110+
google.golang.org/api v0.247.0 // indirect
111+
google.golang.org/genproto v0.0.0-20250818200422-3122310a409c // indirect
112+
google.golang.org/genproto/googleapis/api v0.0.0-20250818200422-3122310a409c // indirect
113+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250818200422-3122310a409c // indirect
114+
google.golang.org/grpc v1.74.2 // indirect
115+
google.golang.org/protobuf v1.36.7 // indirect
116116
gopkg.in/yaml.v3 v3.0.1 // indirect
117117
)

0 commit comments

Comments
 (0)