Skip to content

Commit

Permalink
Update to Go 1.17 in WORKSPACE (#2943)
Browse files Browse the repository at this point in the history
Also update versions in README.rst examples.
  • Loading branch information
Jay Conrod authored Aug 24, 2021
1 parent 1f156d8 commit 431d21c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ Go toolchain and register it for use.
go_rules_dependencies()
go_register_toolchains(version = "1.16.5")
go_register_toolchains(version = "1.17")
You can use rules_go at ``master`` by using `git_repository`_ instead of
`http_archive`_ and pointing to a recent commit.
Expand Down Expand Up @@ -283,7 +283,7 @@ Add the ``bazel_gazelle`` repository and its dependencies to your
go_rules_dependencies()
go_register_toolchains(version = "1.16.5")
go_register_toolchains(version = "1.17")
gazelle_dependencies()
Expand Down Expand Up @@ -420,7 +420,7 @@ automatically from a go.mod or Gopkg.lock file.
# Declare indirect dependencies and register toolchains.
go_rules_dependencies()
go_register_toolchains(version = "1.16.5")
go_register_toolchains(version = "1.17")
gazelle_dependencies()
Expand Down
2 changes: 1 addition & 1 deletion 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.16.1")
go_register_toolchains(version = "1.17")

http_archive(
name = "com_google_protobuf",
Expand Down

0 comments on commit 431d21c

Please sign in to comment.