1

update rules_go

this is used only in tests.
This commit is contained in:
2022-12-11 22:06:28 +02:00
parent 1fb93e089c
commit 47d54b8099
3 changed files with 7 additions and 62 deletions

View File

@@ -4,19 +4,18 @@ workspace(
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
patch_args = ["-p1"],
patches = [
"//patches:rulesgo-race-extld.patch", # https://github.com/bazelbuild/rules_go/pull/3370
],
sha256 = "16e9fca53ed6bd4ff4ad76facc9b7b651a89db1689a2877d6fd7b82aa824e366",
sha256 = "56d8c5a5c91e1af73eca71a6fab2ced959b67c86d12ba37feedb0a2dfea441a6",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.34.0/rules_go-v0.34.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.34.0/rules_go-v0.34.0.zip",
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.37.0/rules_go-v0.37.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.37.0/rules_go-v0.37.0.zip",
],
)
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
http_archive(
name = "bazel_gazelle",
sha256 = "5982e5463f171da99e3bdaeff8c0f48283a7a5f396ec5282910b9e8a49c0dd7e",
@@ -34,6 +33,7 @@ go_rules_dependencies()
# use latest stable.
go_download_sdk(
name = "go_sdk",
#version = "1.20rc1",
version = "1.19.3",
)