Skip to content

Commit

Permalink
bazel: Pin Bazel to 5.x (#1279)
Browse files Browse the repository at this point in the history
Github Actions bazel has been updated to the latest Bazel LTS release; 6.0

Unfortunately this breaks the libsbp build. For now we've pinned the bazel
this repository uses to version 5.4 until the version incompatibility is resolved.
  • Loading branch information
jungleraptor authored Dec 20, 2022
1 parent 7a71961 commit 8e4353f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .bazeliskrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
USE_BAZEL_VERSION=5.4.0
10 changes: 8 additions & 2 deletions .github/workflows/c.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,15 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install Bazel
run: |
curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.15.0/bazelisk-linux-amd64"
mkdir -p "${GITHUB_WORKSPACE}/bin/"
mv bazelisk-linux-amd64 "${GITHUB_WORKSPACE}/bin/bazel"
chmod +x "${GITHUB_WORKSPACE}/bin/bazel"
- name: Bazel Build & Test
run:
bazel test //...
run: |
${GITHUB_WORKSPACE}/bin/bazel test //...
windows-2019:
Expand Down

0 comments on commit 8e4353f

Please sign in to comment.