Skip to content

Commit 9f8489e

Browse files
authored
Update CI workflow to use bazelisk instead of bazel
Removed bazel installation and added bazelisk setup.
1 parent 51f3017 commit 9f8489e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,19 @@ jobs:
109109
- name: setup
110110
run: |
111111
pacman --needed --noconfirm --noprogressbar -S -u -y \
112-
bazel \
113112
ca-certificates \
114113
gcc \
115114
git \
116115
python \
116+
wget \
117117
which
118118
rm -rf \
119119
/var/cache/pacman/pkg/* \
120120
/var/lib/pacman/sync/*
121+
wget -qO /usr/local/bin/bazelisk \
122+
https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-amd64
123+
chmod +x /usr/local/bin/bazelisk
124+
ln -s /usr/local/bin/bazelisk /usr/local/bin/bazel
121125
shell: bash
122126
- name: checkout
123127
uses: actions/checkout@v6

0 commit comments

Comments
 (0)