github bazel-contrib/rules_go v0.23.11

latest releases: v0.51.0-rc1, v0.50.1, v0.50.0...
pre-release4 years ago

Bug fixes

  • coverdata is now imported correctly in files with import comments (thanks @linzhp).
  • cdeps are correctly passed to the linker when a split test's packages are recompiled.
  • The GoPath action uses absolute paths to mitigate path length limits on Windows (thanks @Xjs).
  • The file lib/time/zoneinfo.zip is now exported from downloaded Go distributions (thanks @andrewtar).
  • Multiline package conflict error messages are correctly passed to the builder when Bazel param files are used.
  • Compiler errors are redirected from stdout to stderr.

WORKSPACE code

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

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "bca583b49e4705ffa51d793ee4e2403e1eaab4d31222af8d950ef7cfe731ea33",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.23.11/rules_go-v0.23.11.tar.gz",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.23.11/rules_go-v0.23.11.tar.gz",
    ],
)

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

go_rules_dependencies()

go_register_toolchains()

Don't miss a new rules_go release

NewReleases is sending notifications on new releases.