Skip to content

Commit c097730

Browse files
authored
Bump to go 1.19 and k8s 1.25 (#77)
1 parent 7f64603 commit c097730

File tree

9 files changed

+359
-97
lines changed

9 files changed

+359
-97
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
fetch-depth: 0
1414

1515
- name: Setup Go
16-
uses: actions/setup-go@v2
16+
uses: actions/setup-go@v3
1717
with:
18-
go-version: 1.16
18+
go-version-file: go.mod
1919

2020
- name: Test
2121
run: make test

.github/workflows/go-apidiff.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- uses: actions/checkout@v2
99
with:
1010
fetch-depth: 0
11-
- uses: actions/setup-go@v2
11+
- uses: actions/setup-go@v3
1212
with:
13-
go-version: 1.16
13+
go-version-file: go.mod
1414
- uses: joelanford/go-apidiff@main

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
fetch-depth: 0
1515

1616
- name: Setup Go
17-
uses: actions/setup-go@v2
17+
uses: actions/setup-go@v3
1818
with:
19-
go-version: 1.16
19+
go-version-file: go.mod
2020

2121
- name: Run GoReleaser
2222
run: make release

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ gen-demo:
4040

4141
.PHONY: lint
4242
lint:
43-
source ./scripts/fetch.sh; fetch golangci-lint 1.29.0 && ./bin/golangci-lint --timeout 3m run
43+
source ./scripts/fetch.sh; fetch golangci-lint 1.50.1 && ./bin/golangci-lint --timeout 3m run
4444

4545
.PHONY: release
4646
RELEASE_ARGS?=release --rm-dist --snapshot
4747
release:
48-
source ./scripts/fetch.sh; fetch goreleaser 0.177.0 && ./bin/goreleaser $(RELEASE_ARGS)
48+
source ./scripts/fetch.sh; fetch goreleaser 1.13.0 && ./bin/goreleaser $(RELEASE_ARGS)

go.mod

Lines changed: 88 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,99 @@
11
module github.com/operator-framework/kubectl-operator
22

3-
go 1.16
3+
go 1.19
44

55
require (
66
github.com/containerd/containerd v1.4.3
7-
github.com/onsi/ginkgo v1.14.1
8-
github.com/onsi/gomega v1.11.0
7+
github.com/onsi/ginkgo v1.16.5
8+
github.com/onsi/gomega v1.20.1
99
github.com/opencontainers/image-spec v1.0.2-0.20190823105129-775207bd45b6
1010
github.com/operator-framework/api v0.7.1
1111
github.com/operator-framework/operator-lifecycle-manager v0.0.0-20200521062108-408ca95d458f
1212
github.com/operator-framework/operator-registry v1.12.5
13-
github.com/sirupsen/logrus v1.6.0
14-
github.com/spf13/cobra v1.1.1
13+
github.com/sirupsen/logrus v1.8.1
14+
github.com/spf13/cobra v1.4.0
1515
github.com/spf13/pflag v1.0.5
16-
k8s.io/api v0.20.2
17-
k8s.io/apiextensions-apiserver v0.20.2
18-
k8s.io/apimachinery v0.20.2
19-
k8s.io/client-go v0.20.2
20-
sigs.k8s.io/controller-runtime v0.8.2
21-
sigs.k8s.io/yaml v1.2.0
16+
k8s.io/api v0.25.4
17+
k8s.io/apiextensions-apiserver v0.25.4
18+
k8s.io/apimachinery v0.25.4
19+
k8s.io/client-go v0.25.4
20+
sigs.k8s.io/controller-runtime v0.13.1
21+
sigs.k8s.io/yaml v1.3.0
22+
)
23+
24+
require (
25+
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect
26+
github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5 // indirect
27+
github.com/Microsoft/hcsshim v0.8.7 // indirect
28+
github.com/PuerkitoBio/purell v1.1.1 // indirect
29+
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
30+
github.com/beorn7/perks v1.0.1 // indirect
31+
github.com/blang/semver v3.5.1+incompatible // indirect
32+
github.com/blang/semver/v4 v4.0.0 // indirect
33+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
34+
github.com/containerd/cgroups v0.0.0-20190919134610-bf292b21730f // indirect
35+
github.com/containerd/continuity v0.0.0-20200228182428-0f16d7a0959c // indirect
36+
github.com/containerd/ttrpc v0.0.0-20190828154514-0e0f228740de // indirect
37+
github.com/davecgh/go-spew v1.1.1 // indirect
38+
github.com/docker/cli v0.0.0-20200130152716-5d0cf8839492 // indirect
39+
github.com/docker/distribution v2.7.1+incompatible // indirect
40+
github.com/docker/docker v1.4.2-0.20200203170920-46ec8731fbce // indirect
41+
github.com/docker/docker-credential-helpers v0.6.3 // indirect
42+
github.com/docker/go-connections v0.4.0 // indirect
43+
github.com/docker/go-metrics v0.0.1 // indirect
44+
github.com/docker/go-units v0.4.0 // indirect
45+
github.com/emicklei/go-restful/v3 v3.8.0 // indirect
46+
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
47+
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
48+
github.com/fsnotify/fsnotify v1.5.4 // indirect
49+
github.com/go-logr/logr v1.2.3 // indirect
50+
github.com/go-openapi/jsonpointer v0.19.5 // indirect
51+
github.com/go-openapi/jsonreference v0.19.5 // indirect
52+
github.com/go-openapi/swag v0.19.14 // indirect
53+
github.com/gogo/protobuf v1.3.2 // indirect
54+
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
55+
github.com/golang/protobuf v1.5.2 // indirect
56+
github.com/google/gnostic v0.5.7-v3refs // indirect
57+
github.com/google/go-cmp v0.5.8 // indirect
58+
github.com/google/gofuzz v1.1.0 // indirect
59+
github.com/gorilla/mux v1.7.4 // indirect
60+
github.com/imdario/mergo v0.3.12 // indirect
61+
github.com/inconshreveable/mousetrap v1.0.0 // indirect
62+
github.com/josharian/intern v1.0.0 // indirect
63+
github.com/json-iterator/go v1.1.12 // indirect
64+
github.com/mailru/easyjson v0.7.6 // indirect
65+
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
66+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
67+
github.com/modern-go/reflect2 v1.0.2 // indirect
68+
github.com/morikuni/aec v1.0.0 // indirect
69+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
70+
github.com/nxadm/tail v1.4.8 // indirect
71+
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect
72+
github.com/pkg/errors v0.9.1 // indirect
73+
github.com/prometheus/client_golang v1.12.2 // indirect
74+
github.com/prometheus/client_model v0.2.0 // indirect
75+
github.com/prometheus/common v0.32.1 // indirect
76+
github.com/prometheus/procfs v0.7.3 // indirect
77+
go.etcd.io/bbolt v1.3.6 // indirect
78+
go.opencensus.io v0.22.4 // indirect
79+
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
80+
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
81+
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
82+
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
83+
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
84+
golang.org/x/text v0.3.7 // indirect
85+
golang.org/x/time v0.0.0-20220609170525-579cf78fd858 // indirect
86+
google.golang.org/appengine v1.6.7 // indirect
87+
google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21 // indirect
88+
google.golang.org/grpc v1.47.0 // indirect
89+
google.golang.org/protobuf v1.28.0 // indirect
90+
gopkg.in/inf.v0 v0.9.1 // indirect
91+
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
92+
gopkg.in/yaml.v2 v2.4.0 // indirect
93+
gopkg.in/yaml.v3 v3.0.1 // indirect
94+
k8s.io/klog/v2 v2.70.1 // indirect
95+
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 // indirect
96+
k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed // indirect
97+
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
98+
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
2299
)

0 commit comments

Comments
 (0)