Skip to content

Commit 5ca6d76

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

File tree

13 files changed

+269
-247
lines changed

13 files changed

+269
-247
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 75 additions & 62 deletions
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)