File tree Expand file tree Collapse file tree 5 files changed +11
-6
lines changed
Expand file tree Collapse file tree 5 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ require (
3636 k8s.io/client-go v0.32.2
3737 k8s.io/utils v0.0.0-20241210054802-24370beab758
3838 knative.dev/eventing v0.45.0
39- knative.dev/hack v0.0.0-20250331013814-c577ed9f7775
39+ knative.dev/hack v0.0.0-20251016122918-6d3155ba6dab
4040 knative.dev/pkg v0.0.0-20250415155312-ed3e2158b883
4141 knative.dev/reconciler-test v0.0.0-20250415170512-23f86169156f
4242 sigs.k8s.io/controller-runtime v0.19.0
Original file line number Diff line number Diff line change @@ -1561,8 +1561,8 @@ k8s.io/utils v0.0.0-20241210054802-24370beab758 h1:sdbE21q2nlQtFh65saZY+rRM6x6aJ
15611561k8s.io/utils v0.0.0-20241210054802-24370beab758 /go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0 =
15621562knative.dev/eventing v0.45.0 h1:LwNmhsw94isfEFOtjN1tpcduD5EzTKo4nbenTxSLd4o =
15631563knative.dev/eventing v0.45.0 /go.mod h1:Fz5VjV/vWVN93UfTX3lzc+uFrvJ9wxiiKrRIPhQxoj8 =
1564- knative.dev/hack v0.0.0-20250331013814-c577ed9f7775 h1:UstB8/aowofYFHjLyZdPh1K7qB9BCx+lP1WuiCspYRE =
1565- knative.dev/hack v0.0.0-20250331013814-c577ed9f7775 /go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY =
1564+ knative.dev/hack v0.0.0-20251016122918-6d3155ba6dab h1:GaY+J9tqA01vtkoKBv0afNmXf4McHVXmzKcNpnv3b8g =
1565+ knative.dev/hack v0.0.0-20251016122918-6d3155ba6dab /go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY =
15661566knative.dev/pkg v0.0.0-20250415155312-ed3e2158b883 h1:UeOY7009M0EHwdyW3P35Fc1U6FJHzBrj6Gf370do8zY =
15671567knative.dev/pkg v0.0.0-20250415155312-ed3e2158b883 /go.mod h1:ptwLYr04MAyeoRvhnhhz0FFkVZTdYJV2QWnw9sZyFSM =
15681568knative.dev/reconciler-test v0.0.0-20250415170512-23f86169156f h1:4JZHD997Yav2K6JJU93sjxvcPXNHVY4lC1dWhzyeBXg =
Original file line number Diff line number Diff line change @@ -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 @@ -1413,7 +1413,7 @@ knative.dev/eventing/test/upgrade/prober/wathola/fetcher
14131413knative.dev/eventing/test/upgrade/prober/wathola/forwarder
14141414knative.dev/eventing/test/upgrade/prober/wathola/receiver
14151415knative.dev/eventing/test/upgrade/prober/wathola/sender
1416- # knative.dev/hack v0.0.0-20250331013814-c577ed9f7775
1416+ # knative.dev/hack v0.0.0-20251016122918-6d3155ba6dab
14171417## explicit; go 1.21
14181418knative.dev/hack
14191419# knative.dev/pkg v0.0.0-20250415155312-ed3e2158b883
You can’t perform that action at this time.
0 commit comments