Skip to content

Commit

Permalink
Use Bazel version 5.1.0 to test bzlmod
Browse files Browse the repository at this point in the history
The problem reported in bazelbuild/bazel-central-registry#47 (comment) should be fixed.
  • Loading branch information
avdv committed May 10, 2022
1 parent ce44922 commit 81ffde7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ jobs:
EOF
if [[ ${{ matrix.bzlmod }} == module ]]; then
# Test with bzlmod enabled.
# Requires https://github.com/bazelbuild/bazel/commit/302971e1b3d803069ac949c0085c0d2a3916c8ab,
# see https://github.com/bazelbuild/bazel-central-registry/pull/47#issuecomment-998883652
echo USE_BAZEL_VERSION=302971e1b3d803069ac949c0085c0d2a3916c8ab >.bazeliskrc
echo USE_BAZEL_VERSION=5.1.0 >.bazeliskrc
cat >>.bazelrc.local <<-EOF
build --experimental_enable_bzlmod
EOF
Expand Down

0 comments on commit 81ffde7

Please sign in to comment.