Skip to content

Commit

Permalink
chore: ensure Bazel uses same Go SDK as non-Bazel
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Dec 6, 2024
1 parent 5ca0e2a commit c554075
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c554075

Please sign in to comment.