Skip to content

Commit bef4f98

Browse files
hvadehrarules_java Copybara
authored andcommitted
Add testing for Bazel 9 to @rules_java CI
Also switch from using fixed versions with latest release for each major version. PiperOrigin-RevId: 865968441 Change-Id: I9809f82cd9e6ece901b1cd7a4e5754b17196581d
1 parent d2d7258 commit bef4f98

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.bazelci/presubmit.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ buildifier: latest
3434

3535
matrix:
3636
all_platforms: ["rockylinux8_arm64", "ubuntu2004", "macos", "macos_arm64", "windows"]
37-
bazel: ["7.7.1", "8.4.2", "last_green"]
38-
modern_bazel: ["last_green", "rolling"] # Fully supported Bazel versions
37+
bazel: ["7.x", "8.x", "9.x", "last_green"]
38+
modern_bazel: ["9.x", "last_green", "rolling"] # Fully supported Bazel versions
3939

4040
tasks:
4141
# Bazel 9+
@@ -47,17 +47,17 @@ tasks:
4747
test_targets: *test_targets
4848
# Bazel 8.x
4949
build_and_test_bazel8:
50-
name: "Bazel 8.4.2"
51-
bazel: "8.4.2"
50+
name: "Bazel 8.x"
51+
bazel: "8.x"
5252
platform: ${{ all_platforms }}
5353
build_targets: *build_targets
5454
test_targets: *test_targets
5555
test_flags:
5656
- "--test_tag_filters=-min_bazel_9"
5757
# Bazel 7.x
5858
build_and_test_bazel7:
59-
name: "Bazel 7.7.1"
60-
bazel: "7.7.1"
59+
name: "Bazel 7.x"
60+
bazel: "7.x"
6161
platform: ${{ all_platforms }}
6262
build_targets: *build_targets
6363
test_targets: *test_targets

0 commit comments

Comments
 (0)