Skip to content

Commit 977c643

Browse files
committed
go mod tidy and remove "toolchain go1.22.3"
Not sure why or who is adding this line, probably "go work init". I don't know whether it would be useful, either. Also, the version "go 1.22.0" was causing errors in CI [1]: ``` go: errors parsing go.mod: /__w/jetstack-secure/jetstack-secure/go.mod:3: invalid go version '1.22.0': must match format 1.23 /__w/jetstack-secure/jetstack-secure/go.mod:5: unknown directive: toolchain ``` [1]: https://github.com/jetstack/jetstack-secure/actions/runs/10375056958/job/28723891036?pr=552
1 parent f7919fe commit 977c643

File tree

2 files changed

+88
-157
lines changed

2 files changed

+88
-157
lines changed

go.mod

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/jetstack/preflight
22

33
go 1.22.0
44

5-
toolchain go1.22.3
5+
toolchain go1.22.6
66

77
require (
88
github.com/Jeffail/gabs/v2 v2.7.0
@@ -22,6 +22,7 @@ require (
2222
github.com/prometheus/client_golang v1.19.1
2323
github.com/spf13/cobra v1.8.0
2424
github.com/spf13/pflag v1.0.5
25+
github.com/stretchr/testify v1.9.0
2526
gopkg.in/d4l3k/messagediff.v1 v1.2.1
2627
gopkg.in/yaml.v2 v2.4.0
2728
k8s.io/api v0.30.2
@@ -32,25 +33,24 @@ require (
3233
)
3334

3435
require (
36+
github.com/Khan/genqlient v0.7.0 // indirect
3537
github.com/Venafi/vcert/v5 v5.7.1 // indirect
3638
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df // indirect
3739
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
3840
github.com/aymerick/douceur v0.2.0 // indirect
3941
github.com/blang/semver/v4 v4.0.0 // indirect
4042
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
4143
github.com/fsnotify/fsnotify v1.7.0 // indirect
42-
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
4344
github.com/go-http-utils/headers v0.0.0-20181008091004-fed159eddc2a // indirect
4445
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
4546
github.com/google/cel-go v0.17.8 // indirect
4647
github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 // indirect
4748
github.com/gorilla/css v1.0.0 // indirect
48-
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
49+
github.com/gorilla/websocket v1.5.1 // indirect
4950
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
5051
github.com/sosodev/duration v1.2.0 // indirect
5152
github.com/stoewer/go-strcase v1.3.0 // indirect
52-
github.com/stretchr/testify v1.9.0 // indirect
53-
github.com/x448/float16 v0.8.4 // indirect
53+
github.com/vektah/gqlparser/v2 v2.5.15 // indirect
5454
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
5555
go.uber.org/multierr v1.11.0 // indirect
5656
go.uber.org/zap v1.26.0 // indirect
@@ -61,7 +61,6 @@ require (
6161
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
6262
google.golang.org/genproto/googleapis/api v0.0.0-20240125205218-1f4bbc51befe // indirect
6363
google.golang.org/genproto/googleapis/rpc v0.0.0-20240125205218-1f4bbc51befe // indirect
64-
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
6564
gopkg.in/ini.v1 v1.67.0 // indirect
6665
k8s.io/apiextensions-apiserver v0.30.2 // indirect
6766
k8s.io/apiserver v0.30.2 // indirect
@@ -101,14 +100,12 @@ require (
101100
golang.org/x/term v0.21.0 // indirect
102101
golang.org/x/text v0.16.0 // indirect
103102
golang.org/x/time v0.5.0 // indirect
104-
google.golang.org/appengine v1.6.8 // indirect
105103
google.golang.org/protobuf v1.34.2 // indirect
106104
gopkg.in/inf.v0 v0.9.1 // indirect
107105
gopkg.in/yaml.v3 v3.0.1
108106
k8s.io/klog/v2 v2.130.1 // indirect
109107
k8s.io/kube-openapi v0.0.0-20240430033511-f0e62f92d13f // indirect
110-
k8s.io/kubernetes v1.30.3
111108
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 // indirect
112109
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
113-
sigs.k8s.io/structured-merge-diff/v4 v4.4.1
110+
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
114111
)

0 commit comments

Comments
 (0)