Skip to content

Commit d55d36b

Browse files
authored
Bump to rules_go 0.58.2, update Go in WORKSPACE (bazel-contrib#1782)
Updates `rules_go` to 0.58.2 per bazel-contrib/rules_go#4480, and removes the temporary `git_override`. Updates Go to 1.25.3 in `WORKSPACE`. Also bumps the module version in `MODULE.bazel` to 7.1.4 in advance of the next release. --- The Go version update in `WORKSPACE` should've been in bazel-contrib#1778, but I missed including it. `rules_go` is a dev dep only required for linting, so the impact of this oversight was minimal, but still worth correcting. Bumped the `MODULE.bazel` version number to indicate that changes from this point will be part of the next release.
1 parent 752b305 commit d55d36b

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

MODULE.bazel

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module(
44
name = "rules_scala",
5-
version = "7.1.3",
5+
version = "7.1.4",
66
bazel_compatibility = [">=7.1.0"],
77
compatibility_level = 7,
88
)
@@ -257,19 +257,10 @@ bazel_dep(
257257
)
258258
bazel_dep(
259259
name = "rules_go",
260-
version = "0.57.0",
260+
version = "0.58.2",
261261
dev_dependency = True,
262262
repo_name = "io_bazel_rules_go", # for com_github_bazelbuild_buildtools
263263
)
264-
265-
# Temporary workaround until rules_go > 0.57.0 becomes available to resolve:
266-
# https://github.com/bazel-contrib/rules_go/issues/4480
267-
git_override(
268-
module_name = "rules_go",
269-
commit = "74199c92e20399b6ef46684b2c6fdd94b50a7892",
270-
remote = "https://github.com/bazel-contrib/rules_go.git",
271-
)
272-
273264
bazel_dep(name = "gazelle", version = "0.45.0", dev_dependency = True)
274265

275266
go_sdk = use_extension(

WORKSPACE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ local_repository(
106106

107107
http_archive(
108108
name = "io_bazel_rules_go",
109-
sha256 = "a729c8ed2447c90fe140077689079ca0acfb7580ec41637f312d650ce9d93d96",
109+
sha256 = "54bbb67a4196170cc60ef3b52a2747ad1759cba4764b4c4752b744080ad99947",
110110
urls = [
111-
"https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.57.0/rules_go-v0.57.0.zip",
112-
"https://github.com/bazel-contrib/rules_go/releases/download/v0.57.0/rules_go-v0.57.0.zip",
111+
"https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.58.2/rules_go-v0.58.2.zip",
112+
"https://github.com/bazel-contrib/rules_go/releases/download/v0.58.2/rules_go-v0.58.2.zip",
113113
],
114114
)
115115

@@ -121,7 +121,7 @@ load(
121121

122122
go_rules_dependencies()
123123

124-
go_register_toolchains(version = "1.25.1")
124+
go_register_toolchains(version = "1.25.3")
125125

126126
http_archive(
127127
name = "bazelci_rules",

0 commit comments

Comments
 (0)