[go] Remove network access for Go checks
It's no longer necessary now that all dependencies are vendored.
Change-Id: I2651a90c408bfb26a0314b71afd1b7172e77bbf3
Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/915352
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Reviewed-by: Marc-Antoine Ruel <maruel@google.com>
Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com>
diff --git a/checks/go.star b/checks/go.star
index 61bca47..517bf01 100644
--- a/checks/go.star
+++ b/checks/go.star
@@ -128,9 +128,6 @@
[exe, "-f=json", "./..."],
ok_retcodes = [0, 1],
env = env,
- # TODO(olivernewman): Figure out why staticcheck needs network access and
- # remove. We may need to make sure to `go get` all dependencies first?
- allow_network = True,
).wait()
# Output is JSON-lines.
@@ -176,7 +173,6 @@
"./...",
],
env = go_env(ctx, "shadow"),
- allow_network = True,
).wait()
# Example output: