From 0ec93f9afb8f6c0050e67b25a5318a2733aaa848 Mon Sep 17 00:00:00 2001 From: Jeyoung Kwon Date: Mon, 6 Mar 2023 14:15:39 -0500 Subject: [PATCH] bump io_bazel_rules_go and bazel_gazelle versions to latest fix a toolchain error when attempting to run bazel test //... Change-Id: I940ff8d05c150a80acb4db12921674a5c8e195f8 --- repositories.bzl | 12 ++++++------ repositories.go.bzl | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/repositories.bzl b/repositories.bzl index cc3f0675f..bffb335df 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -102,10 +102,10 @@ def copybara_repositories(): maybe( http_archive, name = "io_bazel_rules_go", - sha256 = "b27e55d2dcc9e6020e17614ae6e0374818a3e3ce6f2024036e688ada24110444", + sha256 = "dd926a88a564a9246713a9c00b35315f54cbd46b31a26d5d8fb264c07045f05d", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.21.0/rules_go-v0.21.0.tar.gz", - "https://github.com/bazelbuild/rules_go/releases/download/v0.21.0/rules_go-v0.21.0.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.38.1/rules_go-v0.38.1.zip", + "https://github.com/bazelbuild/rules_go/releases/download/v0.38.1/rules_go-v0.38.1.zip", ], ) @@ -164,10 +164,10 @@ def copybara_repositories(): maybe( http_archive, name = "bazel_gazelle", - sha256 = "86c6d481b3f7aedc1d60c1c211c6f76da282ae197c3b3160f54bd3a8f847896f", + sha256 = "ecba0f04f96b4960a5b250c8e8eeec42281035970aa8852dda73098274d14a1d", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.19.1/bazel-gazelle-v0.19.1.tar.gz", - "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.19.1/bazel-gazelle-v0.19.1.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.29.0/bazel-gazelle-v0.29.0.tar.gz", + "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.29.0/bazel-gazelle-v0.29.0.tar.gz", ], ) diff --git a/repositories.go.bzl b/repositories.go.bzl index 15eb2bead..8c2a1efe2 100644 --- a/repositories.go.bzl +++ b/repositories.go.bzl @@ -19,7 +19,7 @@ load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository") def copybara_go_repositories(): go_rules_dependencies() - go_register_toolchains() + go_register_toolchains(version = "1.19.5") gazelle_dependencies()