Update googletest to 1.12.1
https://github.com/bazelbuild/bazel/commit/3469784a4935c91b4ac22bcfed6be52e6dfec878 caused many projects in our downstream pipeline to start failing, including Bazel itself: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2580#01828ab1-c309-4bc2-9a9a-46713d8fed98
For Bazel itself, the main culprit seems to be googletest v1.10.0 which was still using the old aliases. The newest versions of googletest fixed this (https://github.com/google/googletest/commit/5c08f92c881b666998a4f7852c3cf9e393bf33a7)
For other projects, we'll just have to wait until they catch up.
PiperOrigin-RevId: 466958093
Change-Id: I1679db1c2106fc54770445cda30bb7a417f8183f
diff --git a/WORKSPACE b/WORKSPACE
index c7ff55c..7cef994 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -270,11 +270,11 @@
http_archive(
name = "com_google_googletest",
- sha256 = "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb",
- strip_prefix = "googletest-release-1.10.0",
+ sha256 = "81964fe578e9bd7c94dfdb09c8e4d6e6759e19967e397dbea48d1c10e45d0df2",
+ strip_prefix = "googletest-release-1.12.1",
urls = [
- "https://mirror.bazel.build/github.com/google/googletest/archive/release-1.10.0.tar.gz",
- "https://github.com/google/googletest/archive/release-1.10.0.tar.gz",
+ "https://mirror.bazel.build/github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz",
+ "https://github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz",
],
)