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 @@ -5,7 +5,7 @@ go 1.23.0
55require (
66 github.com/google/go-github/v32 v32.1.0
77 gopkg.in/yaml.v2 v2.3.0
8- knative.dev/hack v0.0.0-20250902154142-af735b2738d6
8+ knative.dev/hack v0.0.0-20251016122918-f2be520302e8
99)
1010
1111require (
Original file line number Diff line number Diff line change @@ -23,5 +23,5 @@ gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8X
2323gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
2424gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU =
2525gopkg.in/yaml.v2 v2.3.0 /go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI =
26- knative.dev/hack v0.0.0-20250902154142-af735b2738d6 h1:JYZgO9bni32T+BB5v6WpeRFm1hjj+EypBLZCk6HZBt0 =
27- knative.dev/hack v0.0.0-20250902154142-af735b2738d6 /go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY =
26+ knative.dev/hack v0.0.0-20251016122918-f2be520302e8 h1:UQGRZ6nsBfzVGmSQYSN2b/aixYy8FJ+fpuI2KJGLBGo =
27+ knative.dev/hack v0.0.0-20251016122918-f2be520302e8 /go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY =
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 @@ -22,7 +22,7 @@ golang.org/x/crypto/openpgp/s2k
2222# gopkg.in/yaml.v2 v2.3.0
2323## explicit
2424gopkg.in/yaml.v2
25- # knative.dev/hack v0.0.0-20250902154142-af735b2738d6
25+ # knative.dev/hack v0.0.0-20251016122918-f2be520302e8
2626## explicit; go 1.21
2727knative.dev/hack
2828# go.opencensus.io => go.opencensus.io v0.20.2
You can’t perform that action at this time.
0 commit comments