Skip to content

Commit 1f986a6

Browse files
ci: pin bazel version to 7.5.0, and require up-to-date lockfile for CI build
Bazel 7 is currently in maintenance and supported to the end of 2026. The CI build should require an up-to-date lockfile so that we can try to catch before merging if Bazel dep changes are made without the corresponding lockfile change.
1 parent bc787d6 commit 1f986a6

File tree

3 files changed

+1526
-128
lines changed

3 files changed

+1526
-128
lines changed

.bazelversion

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.5.0

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ jobs:
6161
~/.cache/bazel
6262
~/.cache/bazelisk
6363
key: ${{ runner.os }}-bazel-cache
64-
- run: bazel build //...
65-
- run: bazel test //...
64+
- run: bazelisk build --lockfile_mode=error //...
65+
- run: bazelisk test --lockfile_mode=error //...
6666

6767
all:
6868
name: Check all

0 commit comments

Comments
 (0)