github bazel-contrib/rules_go v0.56.1

latest release: v0.57.0
one month ago

WORKSPACE code

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

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

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

go_rules_dependencies()

go_register_toolchains(version = "1.24.5")

# 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

  • fix: instrumentForCoverage for empty outfiles by @bakjos in #4414
  • Consider go_sdk.wrap for host compatible SDK by @fmeum in #4410
  • Drop compatibility with 6.0.0 by @fmeum in #4411

Full Changelog: v0.56.0...v0.56.1

Don't miss a new rules_go release

NewReleases is sending notifications on new releases.