github bazel-contrib/rules_go v0.48.0

latest releases: v0.50.1, v0.50.0, v0.49.0...
5 months ago

Important Changes!

--incompatible_enable_proto_toolchain_resolution is now supported in rules_go. This means that protoc should now be supplied as a toolchain. protoc can be registered using https://github.com/aspect-build/toolchains_protoc, or a local proto toolchain can be added.

rules_proto 6.0.0 is required to use Go proto rules.

WORKSPACE code

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

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "33acc4ae0f70502db4b893c9fc1dd7a9bf998c23e7ff2c4517741d4049a976f8",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.48.0/rules_go-v0.48.0.zip",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.48.0/rules_go-v0.48.0.zip",
    ],
)

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

go_rules_dependencies()

go_register_toolchains(version = "1.22.3")

What's Changed

New Contributors

Full Changelog: v0.47.1...v0.48.0

Don't miss a new rules_go release

NewReleases is sending notifications on new releases.