Skip to content

Commit 6c6b893

Browse files
ci: pin Bazel to 7.5.0, commit lockfile, require lockfile is fresh in CI build
1 parent 6054cab commit 6c6b893

File tree

3 files changed

+2990
-2
lines changed

3 files changed

+2990
-2
lines changed

.bazelversion

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

.github/workflows/build_and_test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
- uses: actions/checkout@v4
8686
- name: Build
8787
run: |
88-
bazel build -c opt //cmd:all
88+
bazelisk build --lockfile_mode=error -c opt //cmd:all
8989
- name: Test
9090
run: |
91-
bazel test //...
91+
bazelisk test --lockfile_mode=error //...

0 commit comments

Comments
 (0)