Skip to content

Commit f0988bc

Browse files
authored
Replace deprecated setup-bazelisk with setup-bazel (#510)
1 parent 7f6869e commit f0988bc

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,16 @@ jobs:
105105
submodules: recursive
106106
ssh-key: ${{ secrets.SSH_KEY }}
107107

108-
- name: Install bazelisk
109-
uses: bazelbuild/setup-bazelisk@v2
108+
- uses: bazel-contrib/[email protected]
109+
with:
110+
# Avoid downloading Bazel every time.
111+
bazelisk-cache: true
110112

111113
- name: Mount bazel cache
112114
uses: actions/cache@v4
113115
with:
114116
path: "~/.cache/bazel"
115-
key: bazel
117+
key: format
116118

117119
- name: Format
118120
run: bazel build --config=clang-format-check //...
@@ -128,8 +130,10 @@ jobs:
128130
submodules: recursive
129131
ssh-key: ${{ secrets.SSH_KEY }}
130132

131-
- name: Install bazelisk
132-
uses: bazelbuild/setup-bazelisk@v2
133+
- uses: bazel-contrib/[email protected]
134+
with:
135+
# Avoid downloading Bazel every time.
136+
bazelisk-cache: true
133137

134138
- name: Mount bazel cache
135139
uses: actions/cache@v4

0 commit comments

Comments
 (0)