fix: Update golang.org/x/net to v0.54.0
Check / check (1.22.x, ubuntu-latest) (push) Failing after 5m15s
Semgrep config / semgrep/ci (push) Failing after 1m19s
Check / check (1.22.x, macos-latest) (push) Has been cancelled
Check / check (1.22.x, windows-latest) (push) Has been cancelled

This commit is contained in:
João "Pisco" Fernandes
2026-05-13 13:15:15 +01:00
parent 21ca2e225e
commit fbfd76089f
65 changed files with 7303 additions and 26049 deletions
+3
View File
@@ -26,6 +26,9 @@ func GoVersion(ctx context.Context, inv Invocation, r *Runner) (int, error) {
inv.BuildFlags = nil // This is not a build command.
inv.ModFlag = ""
inv.ModFile = ""
// Set GO111MODULE=off so that we are immune to errors in go.{work,mod}.
// Unfortunately, this breaks the Go 1.21+ toolchain directive and
// may affect the set of ReleaseTags; see #68495.
inv.Env = append(inv.Env[:len(inv.Env):len(inv.Env)], "GO111MODULE=off")
stdoutBytes, err := r.Run(ctx, inv)