Skip to content

Commit

Permalink
Set latest Bazel build to 7.x after 8.0.0 release (#1671)
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 #1625 and #1652.

- https://github.com/bazelbuild/bazelisk?tab=readme-ov-file#how-does-bazelisk-know-which-bazel-version-to-run
  • Loading branch information
mbland authored Dec 16, 2024
1 parent 0df9e19 commit 6a97ace
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 6a97ace

Please sign in to comment.