From 6a97ace8fc2940f2f86d4972e59337c2f6155106 Mon Sep 17 00:00:00 2001 From: Mike Bland Date: Mon, 16 Dec 2024 02:27:17 -0500 Subject: [PATCH] Set latest Bazel build to 7.x after 8.0.0 release (#1671) This fixes CI builds because Bazel 8.0.0 just came out, but `rules_scala` is not yet Bazel 8 compatible, causing `latest Bazel` builds to fail. Part of #1625 and #1652. - https://github.com/bazelbuild/bazelisk?tab=readme-ov-file#how-does-bazelisk-know-which-bazel-version-to-run --- .bazelci/presubmit.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index a9ff4aa18..83c24e0e6 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -32,7 +32,8 @@ tasks: test_rules_scala_linux_latest: name: "./test_rules_scala (latest Bazel)" platform: ubuntu2004 - bazel: latest + # Restore `bazel: latest` once Bazel 8 compatibility lands (#1625, #1652). + bazel: 7.x shell_commands: # Install xmllint - sudo apt update && sudo apt install --reinstall libxml2-utils -y