Skip to content

Commit

Permalink
Test Go 1.16beta1 (#2769)
Browse files Browse the repository at this point in the history
* Set `GO111MODULE=off` in `go_info`
* Switched to Gazelle `v0.22.3` which also includes fixes.
  • Loading branch information
Jay Conrod committed Dec 23, 2020
1 parent 7d4e90d commit f0b8d73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_depe

go_rules_dependencies(is_rules_go = True)

go_register_toolchains(version = "1.15.5")
go_register_toolchains(version = "1.16beta1")

http_archive(
name = "com_google_protobuf",
Expand Down Expand Up @@ -78,10 +78,10 @@ bazel_skylib_workspace()

http_archive(
name = "bazel_gazelle",
sha256 = "b85f48fa105c4403326e9525ad2b2cc437babaa6e15a3fc0b1dbab0ab064bc7c",
sha256 = "222e49f034ca7a1d1231422cdb67066b885819885c356673cb1f72f748a3c9d4",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.22.2/bazel-gazelle-v0.22.2.tar.gz",
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.22.2/bazel-gazelle-v0.22.2.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.22.3/bazel-gazelle-v0.22.3.tar.gz",
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.22.3/bazel-gazelle-v0.22.3.tar.gz",
],
)

Expand Down
1 change: 1 addition & 0 deletions go/tools/builders/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func run(args []string) error {
if err := goenv.checkFlags(); err != nil {
return err
}
os.Setenv("GO111MODULE", "off")
f := os.Stderr
if filename != "" {
var err error
Expand Down

0 comments on commit f0b8d73

Please sign in to comment.