Skip to content

Commit

Permalink
build system: use env var for bazel version in CI
Browse files Browse the repository at this point in the history
* also using 6.x instead of a specific version
  • Loading branch information
zaucy committed Dec 13, 2023
1 parent f2c4174 commit 7427993
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .bazeliskrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
USE_BAZEL_VERSION=6.x
1 change: 0 additions & 1 deletion .bazelversion

This file was deleted.

2 changes: 2 additions & 0 deletions .github/workflows/bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ jobs:
- uses: actions/checkout@v3
- run: bazelisk test --config=ci ...
working-directory: test
env:
USE_BAZEL_VERSION: 6.x
Empty file added WORKSPACE
Empty file.
1 change: 1 addition & 0 deletions WORKSPACE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# SEE MODULE.bazel

0 comments on commit 7427993

Please sign in to comment.