Skip to content

Commit

Permalink
Set latest Bazel build to 7.x after 8.0.0 release
Browse files Browse the repository at this point in the history
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 bazelbuild#1625 and bazelbuild#1652.

- https://github.com/bazelbuild/bazelisk?tab=readme-ov-file#how-does-bazelisk-know-which-bazel-version-to-run
  • Loading branch information
mbland committed Dec 9, 2024
1 parent 8d9e1f8 commit 463ea01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 463ea01

Please sign in to comment.