github bazel-contrib/rules_go v0.58.2

19 hours ago

WORKSPACE code

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "54bbb67a4196170cc60ef3b52a2747ad1759cba4764b4c4752b744080ad99947",
    urls = [
        "https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.58.2/rules_go-v0.58.2.zip",
        "https://github.com/bazel-contrib/rules_go/releases/download/v0.58.2/rules_go-v0.58.2.zip",
    ],
)

load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

go_rules_dependencies()

go_register_toolchains(version = "1.25.3")

# Create the host platform repository transitively required by rules_go.
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
load("@platforms//host:extension.bzl", "host_platform_repo")

maybe(
	host_platform_repo,
	name = "host_platform",
)

What's Changed

  • Add missing bazel_dep to BCR test module by @fmeum in #4486
  • tests/bcr: don't require MODULE.bazel.lock by @jayconrod in #4485
  • Make it easier to debug integration tests by @dzbarsky in #4488
  • Only build cmd/internal/cov package on go1.20 where it exists by @dzbarsky in #4489
  • .bazelci/presubmit.yml: run BCR tests with multiple Bazel versions by @jayconrod in #4490

Full Changelog: v0.58.0...v0.58.2

Don't miss a new rules_go release

NewReleases is sending notifications on new releases.