File tree Expand file tree Collapse file tree 5 files changed +18
-14
lines changed Expand file tree Collapse file tree 5 files changed +18
-14
lines changed Original file line number Diff line number Diff 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
1615require (
Original file line number Diff line number Diff line change @@ -608,12 +608,12 @@ k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
608608k8s.io/klog/v2 v2.130.1 /go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE =
609609k8s.io/utils v0.0.0-20241210054802-24370beab758 h1:sdbE21q2nlQtFh65saZY+rRM6x6aJJI8IUa1AmH/qa0 =
610610k8s.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 =
617617rsc.io/binaryregexp v0.2.0 /go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8 =
618618rsc.io/quote/v3 v3.1.0 /go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0 =
619619rsc.io/sampler v1.3.0 /go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA =
Original file line number Diff line number Diff 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.
683683function 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 " " $@ "
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
227227k8s.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
230230knative.dev/client/pkg/config
231231knative.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
234234knative.dev/hack
You can’t perform that action at this time.
0 commit comments