diff options
author | Tyler French <66684063+tyler-french@users.noreply.github.com> | 2023-03-29 04:24:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-29 10:24:32 +0200 |
commit | 686d95243e4b0701c3922e2c2a9785dd2ee7f3bb (patch) | |
tree | 859f302d2769f97dafc9a26a1b1af1e46d4b7637 | |
parent | 4660427960cde81412031f93a2c2fb9fc6fcffa2 (diff) | |
download | bazelbuild-rules_go-686d95243e4b0701c3922e2c2a9785dd2ee7f3bb.tar.gz |
update README.md to reflect new version (#3500)
-rw-r--r-- | README.rst | 18 | ||||
-rw-r--r-- | examples/basic-gazelle/WORKSPACE | 8 |
2 files changed, 13 insertions, 13 deletions
@@ -237,10 +237,10 @@ Go toolchain and register it for use. http_archive( name = "io_bazel_rules_go", - sha256 = "56d8c5a5c91e1af73eca71a6fab2ced959b67c86d12ba37feedb0a2dfea441a6", + sha256 = "6b65cb7917b4d1709f9410ffe00ecf3e160edf674b78c54a894471320862184f", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.37.0/rules_go-v0.37.0.zip", - "https://github.com/bazelbuild/rules_go/releases/download/v0.37.0/rules_go-v0.37.0.zip", + "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.39.0/rules_go-v0.39.0.zip", + "https://github.com/bazelbuild/rules_go/releases/download/v0.39.0/rules_go-v0.39.0.zip", ], ) @@ -284,10 +284,10 @@ Add the ``bazel_gazelle`` repository and its dependencies to your http_archive( name = "io_bazel_rules_go", - sha256 = "56d8c5a5c91e1af73eca71a6fab2ced959b67c86d12ba37feedb0a2dfea441a6", + sha256 = "6b65cb7917b4d1709f9410ffe00ecf3e160edf674b78c54a894471320862184f", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.37.0/rules_go-v0.37.0.zip", - "https://github.com/bazelbuild/rules_go/releases/download/v0.37.0/rules_go-v0.37.0.zip", + "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.39.0/rules_go-v0.39.0.zip", + "https://github.com/bazelbuild/rules_go/releases/download/v0.39.0/rules_go-v0.39.0.zip", ], ) @@ -410,10 +410,10 @@ automatically from a go.mod or Gopkg.lock file. # Download the Go rules. http_archive( name = "io_bazel_rules_go", - sha256 = "56d8c5a5c91e1af73eca71a6fab2ced959b67c86d12ba37feedb0a2dfea441a6", + sha256 = "6b65cb7917b4d1709f9410ffe00ecf3e160edf674b78c54a894471320862184f", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.37.0/rules_go-v0.37.0.zip", - "https://github.com/bazelbuild/rules_go/releases/download/v0.37.0/rules_go-v0.37.0.zip", + "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.39.0/rules_go-v0.39.0.zip", + "https://github.com/bazelbuild/rules_go/releases/download/v0.39.0/rules_go-v0.39.0.zip", ], ) diff --git a/examples/basic-gazelle/WORKSPACE b/examples/basic-gazelle/WORKSPACE index 2d9a58d0..7a914a09 100644 --- a/examples/basic-gazelle/WORKSPACE +++ b/examples/basic-gazelle/WORKSPACE @@ -6,10 +6,10 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # checks the sha. http_archive( name = "io_bazel_rules_go", - sha256 = "56d8c5a5c91e1af73eca71a6fab2ced959b67c86d12ba37feedb0a2dfea441a6", + sha256 = "6b65cb7917b4d1709f9410ffe00ecf3e160edf674b78c54a894471320862184f", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.37.0/rules_go-v0.37.0.zip", - "https://github.com/bazelbuild/rules_go/releases/download/v0.37.0/rules_go-v0.37.0.zip", + "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.39.0/rules_go-v0.39.0.zip", + "https://github.com/bazelbuild/rules_go/releases/download/v0.39.0/rules_go-v0.39.0.zip", ], ) @@ -59,7 +59,7 @@ go_rules_dependencies() # The next rule installs the Go toolchains. The Go version is specified # using the version parameter. This rule will download the Go SDK. # https://github.com/bazelbuild/rules_go/blob/master/go/toolchains.rst#go_register_toolchains -go_register_toolchains(version = "1.19.3") +go_register_toolchains(version = "1.20.2") # The following call configured the gazelle dependencies, Go environment and Go SDK. gazelle_dependencies() |