From 5ca0e2a27f8f187a24d0b324bb3eda8fc525ad30 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 3 Dec 2024 19:43:36 +0000 Subject: [PATCH 1/2] chore(deps): update dependency go to v1.23.4 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index b66957714..551853dc1 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/bazel-contrib/bazel-lib go 1.21.1 -toolchain go1.23.2 +toolchain go1.23.4 require ( github.com/bazelbuild/rules_go v0.50.1 From c554075e701f92d6970c5880e8adbc13b40103cc Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Fri, 6 Dec 2024 09:20:53 -0800 Subject: [PATCH 2/2] chore: ensure Bazel uses same Go SDK as non-Bazel --- MODULE.bazel | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MODULE.bazel b/MODULE.bazel index c5135a076..f86159cc7 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -56,6 +56,11 @@ bazel_dep( # In released versions: dev_dependency = True ) +go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk") + +# Matches toolchain in go.mod +go_sdk.download(version = "1.23.4") + go_deps = use_extension( "@gazelle//:extensions.bzl", "go_deps",