From f08f4d9f74c38de6c41206e729bad935232e9218 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 22 May 2024 22:02:56 +0000 Subject: [PATCH] chore(deps): update dependency io_bazel_rules_go to v0.48.0 --- .bazelrc | 1 + WORKSPACE | 34 ++++++++++++++++++++++++++-------- 2 files changed, 27 insertions(+), 8 deletions(-) diff --git a/.bazelrc b/.bazelrc index f43622ed874..b4a5dc991b0 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,2 +1,3 @@ build --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 build --test_output=errors +build --incompatible_enable_proto_toolchain_resolution diff --git a/WORKSPACE b/WORKSPACE index 896939490a5..36cebee10d2 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -10,12 +10,30 @@ http_archive( urls = ["https://github.com/google/googletest/archive/v1.14.0.zip"], ) -# Define before rules_proto, otherwise we receive the version of com_google_protobuf from there http_archive( - name = "com_google_protobuf", - sha256 = "4fc5ff1b2c339fb86cd3a25f0b5311478ab081e65ad258c6789359cd84d421f8", - strip_prefix = "protobuf-26.1", - urls = ["https://github.com/protocolbuffers/protobuf/archive/v26.1.tar.gz"], + name = "toolchains_protoc", + sha256 = "1f3cd768bbb92164952301228bac5e5079743843488598f2b17fecd41163cadb", + strip_prefix = "toolchains_protoc-0.2.4", + url = "https://github.com/aspect-build/toolchains_protoc/releases/download/v0.2.4/toolchains_protoc-v0.2.4.tar.gz", +) + +load("@toolchains_protoc//protoc:repositories.bzl", "rules_protoc_dependencies") + +rules_protoc_dependencies() + +load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies") + +rules_proto_dependencies() + +load("@bazel_features//:deps.bzl", "bazel_features_deps") + +bazel_features_deps() + +load("@toolchains_protoc//protoc:toolchain.bzl", "protoc_toolchains") + +protoc_toolchains( + name = "protoc_toolchains", + version = "v26.1", ) http_archive( @@ -63,10 +81,10 @@ rules_proto_toolchains() http_archive( name = "io_bazel_rules_go", - sha256 = "f74c98d6df55217a36859c74b460e774abc0410a47cc100d822be34d5f990f16", + sha256 = "33acc4ae0f70502db4b893c9fc1dd7a9bf998c23e7ff2c4517741d4049a976f8", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.47.1/rules_go-v0.47.1.zip", - "https://github.com/bazelbuild/rules_go/releases/download/v0.47.1/rules_go-v0.47.1.zip", + "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", ], )