Skip to content

Commit 5fe2f5b

Browse files
upgrade to latest dependencies (#614)
bumping knative.dev/client/pkg 091f886...0206e6c: > 0206e6c upgrade to latest dependencies (# 2053) > 62fdfbf upgrade to latest dependencies (# 2041) bumping knative.dev/hack af735b2...50b120a: > 50b120a bump gotestfmt to newest version (# 449) > f2be520 [release-1.19] 🐛 Fix knative.dev/toolbox for older versions of Golang (# 444) Signed-off-by: Knative Automation <[email protected]>
1 parent dc522f0 commit 5fe2f5b

File tree

5 files changed

+18
-14
lines changed

5 files changed

+18
-14
lines changed

go.mod

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ require (
88
github.com/hashicorp/hcl v1.0.1-vault-5
99
github.com/spf13/cobra v1.8.1
1010
gotest.tools/v3 v3.3.0
11-
knative.dev/client/pkg v0.0.0-20250821172449-091f88684b9c
12-
knative.dev/hack v0.0.0-20250902154142-af735b2738d6
13-
11+
knative.dev/client/pkg v0.0.0-20250912201021-0206e6cc1183
12+
knative.dev/hack v0.0.0-20251022160748-50b120a65f30
1413
)
1514

1615
require (

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -608,12 +608,12 @@ k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
608608
k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
609609
k8s.io/utils v0.0.0-20241210054802-24370beab758 h1:sdbE21q2nlQtFh65saZY+rRM6x6aJJI8IUa1AmH/qa0=
610610
k8s.io/utils v0.0.0-20241210054802-24370beab758/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
611-
knative.dev/client/pkg v0.0.0-20250821172449-091f88684b9c h1:SK9cz2JuRvllXQX3ykYkM6+WeD3bmTrxTdN97hKXJfI=
612-
knative.dev/client/pkg v0.0.0-20250821172449-091f88684b9c/go.mod h1:tD+8auT58DteHrfjXfl7Yvg10SzQnVx1hbPw5kHJUZk=
613-
knative.dev/hack v0.0.0-20250902154142-af735b2738d6 h1:JYZgO9bni32T+BB5v6WpeRFm1hjj+EypBLZCk6HZBt0=
614-
knative.dev/hack v0.0.0-20250902154142-af735b2738d6/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
615-
knative.dev/pkg v0.0.0-20250821143151-4ffdcf6b3fa5 h1:2U4nNoTuF/3enFcPp1BVQXCjUC4XfieIHkZeuU7j8uA=
616-
knative.dev/pkg v0.0.0-20250821143151-4ffdcf6b3fa5/go.mod h1:ewap/fhCZCh6Gm+F6udBION8T2+UcJFK4L1Ss/5K8Dw=
611+
knative.dev/client/pkg v0.0.0-20250912201021-0206e6cc1183 h1:im4v3yGLHjVJ5t8xC8VFyM7DPkXaQTZhNj5pClfgHDQ=
612+
knative.dev/client/pkg v0.0.0-20250912201021-0206e6cc1183/go.mod h1:cLl6ssW6kRIlE+Ezl32ugzjpWrQeu7QUW++Y4l1ZBD4=
613+
knative.dev/hack v0.0.0-20251022160748-50b120a65f30 h1:4fzUJrTmIbqgttXMBuLFC7/m2p0146EM3h9Wn2pBm9U=
614+
knative.dev/hack v0.0.0-20251022160748-50b120a65f30/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
615+
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8 h1:n0BMHXIem9MyDkK4vfA4Vzdxaf1e+EeLJ6k+8exCjjI=
616+
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8/go.mod h1:a1amDzo4YIUNuGeDgEz/uDHs5MQVYI1DXnRnEpWCAts=
617617
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
618618
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
619619
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=

vendor/knative.dev/hack/library.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ function report_go_test() {
588588
logfile="${logfile/.xml/.jsonl}"
589589
echo "Running go test with args: ${go_test_args[*]}"
590590
local gotest_retcode=0
591-
go_run gotest.tools/gotestsum@v1.11.0 \
591+
go_run gotest.tools/gotestsum@v1.13.0 \
592592
--format "${GO_TEST_VERBOSITY:-testname}" \
593593
--junitfile "${xml}" \
594594
--junitfile-testsuite-name relative \
@@ -681,7 +681,7 @@ function start_knative_eventing_extension() {
681681
# Parameters: $1 - tool package for go run.
682682
# $2..$n - parameters passed to the tool.
683683
function go_run() {
684-
local package
684+
local package gotoolchain
685685
package="$1"
686686
if [[ "$package" != *@* ]]; then
687687
abort 'Package for "go_run" needs to have @version'
@@ -696,6 +696,11 @@ function go_run() {
696696
GORUN_PATH="$(mktemp -t -d -u gopath.XXXXXXXX)"
697697
fi
698698
export GORUN_PATH
699+
gotoolchain="$(go env GOTOOLCHAIN)"
700+
if [[ "$package" == knative.dev/toolbox/* ]]; then
701+
gotoolchain=auto
702+
fi
703+
GOTOOLCHAIN="${gotoolchain}" \
699704
GOPATH="${GORUN_PATH}" \
700705
GOFLAGS='' \
701706
go run "$package" "$@"

vendor/knative.dev/hack/presubmit-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function __build_test_runner_for_module() {
141141
# Don't merge these two lines, or return code will always be 0.
142142
# Get all build tags in go code (ignore /vendor, /hack and /third_party)
143143
local tags
144-
tags="$(go run knative.dev/toolbox/go-ls-tags@latest --joiner=,)"
144+
tags="$(go_run knative.dev/toolbox/go-ls-tags@latest --joiner=,)"
145145
local go_pkg_dirs
146146
go_pkg_dirs="$(go list -tags "${tags}" ./...)" || return $?
147147
if [[ -z "${go_pkg_dirs}" ]]; then

vendor/modules.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,10 @@ k8s.io/klog/v2/internal/sloghandler
225225
# k8s.io/utils v0.0.0-20241210054802-24370beab758
226226
## explicit; go 1.18
227227
k8s.io/utils/clock
228-
# knative.dev/client/pkg v0.0.0-20250821172449-091f88684b9c
228+
# knative.dev/client/pkg v0.0.0-20250912201021-0206e6cc1183
229229
## explicit; go 1.24.0
230230
knative.dev/client/pkg/config
231231
knative.dev/client/pkg/plugin
232-
# knative.dev/hack v0.0.0-20250902154142-af735b2738d6
232+
# knative.dev/hack v0.0.0-20251022160748-50b120a65f30
233233
## explicit; go 1.21
234234
knative.dev/hack

0 commit comments

Comments
 (0)