Update rules_go, prune unused go_repositories (#7800)

This commit is contained in:
Preston Van Loon 2020-11-12 20:32:15 -08:00 committed by GitHub
parent 5fdb916b4f
commit 21d4c8f3f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 681 deletions

View File

@ -61,7 +61,7 @@ Example:
```bash ```bash
go get github.com/prysmaticlabs/example@v1.2.3 go get github.com/prysmaticlabs/example@v1.2.3
bazel run //:gazelle -- update-repos -from_file=go.mod -to_macro=deps.bzl%prysm_deps bazel run //:gazelle -- update-repos -from_file=go.mod -to_macro=deps.bzl%prysm_deps -prune=true
``` ```
The deps.bzl file should have been updated with the dependency and any transitive dependencies. The deps.bzl file should have been updated with the dependency and any transitive dependencies.

View File

@ -89,10 +89,10 @@ http_archive(
# nogo check fails for certain third_party dependencies. # nogo check fails for certain third_party dependencies.
"//third_party:io_bazel_rules_go.patch", "//third_party:io_bazel_rules_go.patch",
], ],
sha256 = "d1ffd055969c8f8d431e2d439813e42326961d0942bdf734d2c95dc30c369566", sha256 = "207fad3e6689135c5d8713e5a17ba9d1290238f47b9ba545b63d9303406209c6",
urls = [ urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.24.5/rules_go-v0.24.5.tar.gz", "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.24.7/rules_go-v0.24.7.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/v0.24.5/rules_go-v0.24.5.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.24.7/rules_go-v0.24.7.tar.gz",
], ],
) )
@ -156,7 +156,7 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_depe
go_rules_dependencies() go_rules_dependencies()
go_register_toolchains( go_register_toolchains(
go_version = "1.15.3", go_version = "1.15.5",
nogo = "@//:nogo", nogo = "@//:nogo",
) )

695
deps.bzl

File diff suppressed because it is too large Load Diff