From 463ea01498e4fcde44a1bf48657f78f657266e7b Mon Sep 17 00:00:00 2001 From: Mike Bland Date: Mon, 9 Dec 2024 15:48:17 -0500 Subject: [PATCH] Set latest Bazel build to 7.x after 8.0.0 release 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 eb7528dd0..4fc83e065 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