Skip to content

Commit 5ca6d76

Browse files
authored
Deps upgrade (#219)
* chore: upgrade of direct deps and go
1 parent b318444 commit 5ca6d76

13 files changed

+269
-247
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup Go
3232
uses: actions/setup-go@v4
3333
with:
34-
go-version: '1.22'
34+
go-version: '1.23'
3535
check-latest: true
3636
- name: Get dependencies
3737
run: go mod download
@@ -45,5 +45,5 @@ jobs:
4545
- name: Lint
4646
uses: dominikh/[email protected]
4747
with:
48-
version: "2023.1.7"
48+
version: "2024.1.1"
4949
install-go: false

.github/workflows/documentation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Setup Go
5454
uses: actions/setup-go@v4
5555
with:
56-
go-version: '1.22'
56+
go-version: '1.23'
5757
check-latest: true
5858
- name: Get dependencies
5959
run: go mod download

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup Go
3030
uses: actions/setup-go@v4
3131
with:
32-
go-version: '1.22'
32+
go-version: '1.23'
3333
check-latest: true
3434
- name: Import GPG key
3535
id: import_gpg

DEVELOPMENT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Requirements
44

5-
* [Go](https://go.dev/doc/install) 1.22 or newer (to build the application)
5+
* [Go](https://go.dev/doc/install) 1.23 or newer (to build the application)
66
* [GNU Make](https://www.gnu.org/software/make) (to build and test easier)
77
* [Open Policy Agent](https://www.openpolicyagent.org/docs/latest/#1-download-opa) (to test REGO policies)
88

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Binaries for Linux, Windows and Mac are available as tarballs in the
6565

6666
### Source code
6767

68-
Go [v1.22](https://go.dev/doc/install) or newer is required. Check the [development guide](./DEVELOPMENT.md)
68+
Go [v1.23](https://go.dev/doc/install) or newer is required. Check the [development guide](./DEVELOPMENT.md)
6969
for more details.
7070

7171
```sh

docs/user-guide.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Binaries for Linux, Windows and Mac are available as tarballs in the
6161

6262
### Source code
6363

64-
Go [v1.22](https://go.dev/doc/install) or newer is required. Check the [development guide](../DEVELOPMENT.md)
64+
Go [v1.23](https://go.dev/doc/install) or newer is required. Check the [development guide](../DEVELOPMENT.md)
6565
for more details.
6666

6767
```sh

go.mod

+75-62
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,85 @@
11
module github.com/google/gke-policy-automation
22

3-
go 1.22.0
3+
go 1.23.0
44

5-
toolchain go1.22.2
5+
toolchain go1.23.2
66

77
require (
8-
cloud.google.com/go/asset v1.20.2
9-
cloud.google.com/go/container v1.40.0
10-
cloud.google.com/go/pubsub v1.43.0
11-
cloud.google.com/go/securitycenter v1.35.1
12-
cloud.google.com/go/storage v1.43.0
13-
github.com/fatih/color v1.17.0
14-
github.com/go-git/go-billy/v5 v5.5.0
8+
cloud.google.com/go/asset v1.20.3
9+
cloud.google.com/go/container v1.42.0
10+
cloud.google.com/go/pubsub v1.45.3
11+
cloud.google.com/go/securitycenter v1.35.2
12+
cloud.google.com/go/storage v1.48.0
13+
github.com/fatih/color v1.18.0
14+
github.com/go-git/go-billy/v5 v5.6.0
1515
github.com/go-git/go-git/v5 v5.12.0
16-
github.com/googleapis/gax-go/v2 v2.13.0
17-
github.com/open-policy-agent/opa v0.68.0
18-
github.com/prometheus/client_golang v1.20.4
19-
github.com/prometheus/common v0.59.1
16+
github.com/googleapis/gax-go/v2 v2.14.0
17+
github.com/open-policy-agent/opa v0.70.0
18+
github.com/prometheus/client_golang v1.20.5
19+
github.com/prometheus/common v0.61.0
2020
github.com/sirupsen/logrus v1.9.3
21-
github.com/stretchr/testify v1.9.0
22-
github.com/urfave/cli/v2 v2.27.4
23-
golang.org/x/oauth2 v0.23.0
24-
google.golang.org/api v0.198.0
25-
google.golang.org/protobuf v1.34.2
21+
github.com/stretchr/testify v1.10.0
22+
github.com/urfave/cli/v2 v2.27.5
23+
golang.org/x/oauth2 v0.24.0
24+
google.golang.org/api v0.211.0
25+
google.golang.org/protobuf v1.35.2
2626
gopkg.in/yaml.v3 v3.0.1
27-
k8s.io/apimachinery v0.31.1
28-
k8s.io/client-go v0.31.1
27+
k8s.io/apimachinery v0.32.0
28+
k8s.io/client-go v0.32.0
2929
)
3030

3131
require (
32-
cloud.google.com/go v0.115.1 // indirect
33-
cloud.google.com/go/accesscontextmanager v1.9.1 // indirect
34-
cloud.google.com/go/auth v0.9.4 // indirect
35-
cloud.google.com/go/auth/oauth2adapt v0.2.4 // indirect
36-
cloud.google.com/go/compute/metadata v0.5.1 // indirect
37-
cloud.google.com/go/iam v1.2.1 // indirect
38-
cloud.google.com/go/longrunning v0.6.1 // indirect
39-
cloud.google.com/go/orgpolicy v1.14.0 // indirect
40-
cloud.google.com/go/osconfig v1.14.1 // indirect
41-
dario.cat/mergo v1.0.1 // indirect
42-
github.com/Microsoft/go-winio v0.6.2 // indirect
32+
cel.dev/expr v0.16.1 // indirect
33+
cloud.google.com/go v0.116.0 // indirect
34+
cloud.google.com/go/accesscontextmanager v1.9.2 // indirect
35+
cloud.google.com/go/auth v0.12.1 // indirect
36+
cloud.google.com/go/auth/oauth2adapt v0.2.6 // indirect
37+
cloud.google.com/go/compute/metadata v0.5.2 // indirect
38+
cloud.google.com/go/iam v1.3.0 // indirect
39+
cloud.google.com/go/longrunning v0.6.3 // indirect
40+
cloud.google.com/go/monitoring v1.22.0 // indirect
41+
cloud.google.com/go/orgpolicy v1.14.1 // indirect
42+
cloud.google.com/go/osconfig v1.14.2 // indirect
43+
dario.cat/mergo v1.0.0 // indirect
44+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.24.1 // indirect
45+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.48.1 // indirect
46+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.48.1 // indirect
47+
github.com/Microsoft/go-winio v0.6.1 // indirect
4348
github.com/OneOfOne/xxhash v1.2.8 // indirect
44-
github.com/ProtonMail/go-crypto v1.0.0 // indirect
45-
github.com/agnivade/levenshtein v1.1.1 // indirect
49+
github.com/ProtonMail/go-crypto v1.1.3 // indirect
50+
github.com/agnivade/levenshtein v1.2.0 // indirect
4651
github.com/beorn7/perks v1.0.1 // indirect
52+
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
4753
github.com/cespare/xxhash/v2 v2.3.0 // indirect
48-
github.com/cloudflare/circl v1.4.0 // indirect
54+
github.com/cloudflare/circl v1.5.0 // indirect
55+
github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78 // indirect
4956
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
50-
github.com/cyphar/filepath-securejoin v0.3.2 // indirect
57+
github.com/cyphar/filepath-securejoin v0.3.5 // indirect
5158
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
52-
github.com/dustin/go-humanize v1.0.1 // indirect
53-
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
59+
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
5460
github.com/emirpasic/gods v1.18.1 // indirect
61+
github.com/envoyproxy/go-control-plane v0.13.0 // indirect
62+
github.com/envoyproxy/protoc-gen-validate v1.1.0 // indirect
5563
github.com/felixge/httpsnoop v1.0.4 // indirect
5664
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
5765
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
5866
github.com/go-ini/ini v1.67.0 // indirect
5967
github.com/go-logr/logr v1.4.2 // indirect
6068
github.com/go-logr/stdr v1.2.2 // indirect
6169
github.com/go-openapi/jsonpointer v0.21.0 // indirect
62-
github.com/go-openapi/jsonreference v0.21.0 // indirect
70+
github.com/go-openapi/jsonreference v0.20.2 // indirect
6371
github.com/go-openapi/swag v0.23.0 // indirect
6472
github.com/gobwas/glob v0.2.3 // indirect
6573
github.com/gogo/protobuf v1.3.2 // indirect
66-
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
74+
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
6775
github.com/golang/protobuf v1.5.4 // indirect
68-
github.com/google/gnostic-models v0.6.8 // indirect
76+
github.com/google/gnostic-models v0.6.9 // indirect
6977
github.com/google/go-cmp v0.6.0 // indirect
7078
github.com/google/gofuzz v1.2.0 // indirect
7179
github.com/google/s2a-go v0.1.8 // indirect
7280
github.com/google/uuid v1.6.0 // indirect
7381
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect
7482
github.com/gorilla/mux v1.8.1 // indirect
75-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect
76-
github.com/imdario/mergo v0.3.16 // indirect
7783
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
7884
github.com/josharian/intern v1.0.0 // indirect
7985
github.com/jpillora/backoff v1.0.0 // indirect
@@ -87,13 +93,14 @@ require (
8793
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
8894
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect
8995
github.com/pjbgf/sha1cd v0.3.0 // indirect
96+
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
9097
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
9198
github.com/prometheus/client_model v0.6.1 // indirect
9299
github.com/prometheus/procfs v0.15.1 // indirect
93-
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
100+
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect
94101
github.com/russross/blackfriday/v2 v2.1.0 // indirect
95102
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
96-
github.com/skeema/knownhosts v1.3.0 // indirect
103+
github.com/skeema/knownhosts v1.2.2 // indirect
97104
github.com/spf13/pflag v1.0.5 // indirect
98105
github.com/stretchr/objx v0.5.2 // indirect
99106
github.com/tchap/go-patricia/v2 v2.3.1 // indirect
@@ -104,31 +111,37 @@ require (
104111
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
105112
github.com/yashtewari/glob-intersection v0.2.0 // indirect
106113
go.opencensus.io v0.24.0 // indirect
107-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.55.0 // indirect
108-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0 // indirect
109-
go.opentelemetry.io/otel v1.30.0 // indirect
110-
go.opentelemetry.io/otel/metric v1.30.0 // indirect
111-
go.opentelemetry.io/otel/sdk v1.30.0 // indirect
112-
go.opentelemetry.io/otel/trace v1.30.0 // indirect
113-
golang.org/x/crypto v0.31.0 // indirect
114-
golang.org/x/net v0.29.0 // indirect
114+
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
115+
go.opentelemetry.io/contrib/detectors/gcp v1.29.0 // indirect
116+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.58.0 // indirect
117+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 // indirect
118+
go.opentelemetry.io/otel v1.33.0 // indirect
119+
go.opentelemetry.io/otel/metric v1.33.0 // indirect
120+
go.opentelemetry.io/otel/sdk v1.33.0 // indirect
121+
go.opentelemetry.io/otel/sdk/metric v1.29.0 // indirect
122+
go.opentelemetry.io/otel/trace v1.33.0 // indirect
123+
golang.org/x/crypto v0.30.0 // indirect
124+
golang.org/x/mod v0.22.0 // indirect
125+
golang.org/x/net v0.32.0 // indirect
115126
golang.org/x/sync v0.10.0 // indirect
116127
golang.org/x/sys v0.28.0 // indirect
117128
golang.org/x/term v0.27.0 // indirect
118129
golang.org/x/text v0.21.0 // indirect
119-
golang.org/x/time v0.6.0 // indirect
120-
google.golang.org/genproto v0.0.0-20240903143218-8af14fe29dc1 // indirect
121-
google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect
122-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect
123-
google.golang.org/grpc v1.67.0 // indirect
130+
golang.org/x/time v0.8.0 // indirect
131+
golang.org/x/tools v0.28.0 // indirect
132+
google.golang.org/genproto v0.0.0-20241209162323-e6fa225c2576 // indirect
133+
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576 // indirect
134+
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 // indirect
135+
google.golang.org/grpc v1.68.1 // indirect
136+
google.golang.org/grpc/stats/opentelemetry v0.0.0-20240907200651-3ffb98b2c93a // indirect
124137
gopkg.in/inf.v0 v0.9.1 // indirect
125138
gopkg.in/warnings.v0 v0.1.2 // indirect
126139
gopkg.in/yaml.v2 v2.4.0 // indirect
127-
k8s.io/api v0.31.1 // indirect
140+
k8s.io/api v0.32.0 // indirect
128141
k8s.io/klog/v2 v2.130.1 // indirect
129-
k8s.io/kube-openapi v0.0.0-20240903163716-9e1beecbcb38 // indirect
130-
k8s.io/utils v0.0.0-20240902221715-702e33fdd3c3 // indirect
131-
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
132-
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
142+
k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 // indirect
143+
k8s.io/utils v0.0.0-20241210054802-24370beab758 // indirect
144+
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
145+
sigs.k8s.io/structured-merge-diff/v4 v4.5.0 // indirect
133146
sigs.k8s.io/yaml v1.4.0 // indirect
134147
)

0 commit comments

Comments
 (0)