8000 Update dependencies and tools (#256) · stern/stern@531f869 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 531f869

Browse files
Update dependencies and tools (#256)
* Update dependencies * Update tools * goreleaser: Use -clean instead of -rm-dist as it is deprecated
1 parent c76ea87 commit 531f869

File tree

3 files changed

+87
-90
lines changed

3 files changed

+87
-90
lines changed

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ build:
55
go build -o dist/stern .
66

77
TOOLS_BIN_DIR := $(CURDIR)/hack/tools/bin
8-
GORELEASER_VERSION ?= v1.14.1
8+
GORELEASER_VERSION ?= v1.17.0
99
GORELEASER := $(TOOLS_BIN_DIR)/goreleaser
10-
GOLANGCI_LINT_VERSION ?= v1.51.2
10+
GOLANGCI_LINT_VERSION ?= v1.52.2
1111
GOLANGCI_LINT := $(TOOLS_BIN_DIR)/golangci-lint
1212
VALIDATE_KREW_MAIFEST_VERSION ?= v0.4.3
1313
VALIDATE_KREW_MAIFEST := $(TOOLS_BIN_DIR)/validate-krew-manifest
@@ -28,7 +28,7 @@ $(GORELEASER_FILTER):
2828

2929
.PHONY: build-cross
3030
build-cross: $(GORELEASER)
31-
$(GORELEASER) build --snapshot --rm-dist
31+
$(GORELEASER) build --snapshot --clean
3232

3333
.PHONY: test
3434
test: fmt vet lint
@@ -62,15 +62,15 @@ validate-krew-manifest: $(VALIDATE_KREW_MAIFEST)
6262

6363
.PHONY: dist
6464
dist: $(GORELEASER) $(GORELEASER_FILTER)
65-
cat .goreleaser.yaml | $(GORELEASER_FILTER) -goos $(shell go env GOOS) -goarch $(shell go env GOARCH) | $(GORELEASER) release -f- --rm-dist --skip-publish --snapshot
65+
cat .goreleaser.yaml | $(GORELEASER_FILTER) -goos $(shell go env GOOS) -goarch $(shell go env GOARCH) | $(GORELEASER) release -f- --clean --skip-publish --snapshot
6666

6767
.PHONY: dist-all
6868
dist-all: $(GORELEASER)
69-
$(GORELEASER) release --rm-dist --skip-publish --snapshot
69+
$(GORELEASER) release --clean --skip-publish --snapshot
7070

7171
.PHONY: release
7272
release: $(GORELEASER)
73-
$(GORELEASER) release --rm-dist --skip-validate
73+
$(GORELEASER) release --clean --skip-validate
7474

7575
.PHONY: clean
7676
clean: clean-tools clean-dist

go.mod

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,71 +4,71 @@ go 1.19
44

55
require (
66
github.com/AlecAivazis/survey/v2 v2.3.6
7-
github.com/fatih/color v1.13.0
7+
github.com/fatih/color v1.15.0
88
github.com/mitchellh/go-homedir v1.1.0
99
github.com/pkg/errors v0.9.1
1010
github.com/spf13/cast v1.5.0
11-
github.com/spf13/cobra v1.6.1
11+
github.com/spf13/cobra v1.7.0
1212
github.com/spf13/pflag v1.0.5
1313
golang.org/x/sync v0.1.0
1414
golang.org/x/time v0.3.0
1515
gopkg.in/yaml.v3 v3.0.1
16-
k8s.io/api v0.26.0
17-
k8s.io/apimachinery v0.26.0
18-
k8s.io/cli-runtime v0.26.0
19-
k8s.io/client-go v0.26.0
20-
k8s.io/klog/v2 v2.80.1
21-
k8s.io/utils v0.0.0-20221128185143-99ec85e7a448
16+
k8s.io/api v0.27.0
17+
k8s.io/apimachinery v0.27.0
18+
k8s.io/cli-runtime v0.27.0
19+
k8s.io/client-go v0.27.0
20+
k8s.io/klog/v2 v2.90.1
21+
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2
2222
)
2323

2424
require (
2525
github.com/davecgh/go-spew v1.1.1 // indirect
26-
github.com/emicklei/go-restful/v3 v3.10.1 // indirect
26+
github.com/emicklei/go-restful/v3 v3.10.2 // indirect
2727
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
2828
github.com/go-errors/errors v1.4.2 // indirect
29-
github.com/go-logr/logr v1.2.3 // indirect
29+
github.com/go-logr/logr v1.2.4 // indirect
3030
github.com/go-openapi/jsonpointer v0.19.6 // indirect
31-
github.com/go-openapi/jsonreference v0.20.1 // indirect
31+
github.com/go-openapi/jsonreference v0.20.2 // indirect
3232
github.com/go-openapi/swag v0.22.3 // indirect
3333
github.com/gogo/protobuf v1.3.2 // indirect
34-
github.com/golang/protobuf v1.5.2 // indirect
34+
github.com/golang/protobuf v1.5.3 // indirect
3535
github.com/google/btree v1.1.2 // indirect
3636
github.com/google/gnostic v0.6.9 // indirect
3737
github.com/google/go-cmp v0.5.9 // indirect
3838
github.com/google/gofuzz v1.2.0 // indirect
3939
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
4040
github.com/google/uuid v1.3.0 // indirect
4141
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
42-
github.com/imdario/mergo v0.3.13 // indirect
42+
github.com/imdario/mergo v0.3.15 // indirect
4343
github.com/inconshreveable/mousetrap v1.1.0 // indirect
4444
github.com/josharian/intern v1.0.0 // indirect
4545
github.com/json-iterator/go v1.1.12 // indirect
4646
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
4747
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
4848
github.com/mailru/easyjson v0.7.7 // indirect
4949
github.com/mattn/go-colorable v0.1.13 // indirect
50-
github.com/mattn/go-isatty v0.0.17 // indirect
50+
github.com/mattn/go-isatty v0.0.18 // indirect
5151
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
5252
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
5353
github.com/modern-go/reflect2 v1.0.2 // indirect
5454
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
5555
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
5656
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
57-
github.com/xlab/treeprint v1.1.0 // indirect
58-
go.starlark.net v0.0.0-20230112144946-fae38c8a6d89 // indirect
59-
golang.org/x/net v0.8.0 // indirect
60-
golang.org/x/oauth2 v0.4.0 // indirect
61-
golang.org/x/sys v0.6.0 // indirect
62-
golang.org/x/term v0.6.0 // indirect
63-
golang.org/x/text v0.8.0 // indirect
57+
github.com/xlab/treeprint v1.2.0 // indirect
58+
go.starlark.net v0.0.0-20230302034142-4b1e35fe2254 // indirect
59+
golang.org/x/net v0.9.0 // indirect
60+
golang.org/x/oauth2 v0.7.0 // indirect
61+
golang.org/x/sys v0.7.0 // indirect
62+
golang.org/x/term v0.7.0 // indirect
63+
golang.org/x/text v0.9.0 // indirect
6464
google.golang.org/appengine v1.6.7 // indirect
65-
google.golang.org/protobuf v1.28.1 // indirect
65+
google.golang.org/protobuf v1.30.0 // indirect
6666
gopkg.in/inf.v0 v0.9.1 // indirect
6767
gopkg.in/yaml.v2 v2.4.0 // indirect
68-
k8s.io/kube-openapi v0.0.0-20230109183929-3758b55a6596 // indirect
68+
k8s.io/kube-openapi v0.0.0-20230327201221-f5883ff37f0c // indirect
6969
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
70-
sigs.k8s.io/kustomize/api v0.12.1 // indirect
71-
sigs.k8s.io/kustomize/kyaml v0.13.9 // indirect
70+
sigs.k8s.io/kustomize/api v0.13.2 // indirect
71+
sigs.k8s.io/kustomize/kyaml v0.14.1 // indirect
7272
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
7373
sigs.k8s.io/yaml v1.3.0 // indirect
7474
)

0 commit comments

Comments
 (0)
0