File tree 1 file changed +9
-5
lines changed 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -105,14 +105,16 @@ jobs:
105
105
submodules : recursive
106
106
ssh-key : ${{ secrets.SSH_KEY }}
107
107
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
110
112
111
113
- name : Mount bazel cache
112
114
uses : actions/cache@v4
113
115
with :
114
116
path : " ~/.cache/bazel"
115
- key : bazel
117
+ key : format
116
118
117
119
- name : Format
118
120
run : bazel build --config=clang-format-check //...
@@ -128,8 +130,10 @@ jobs:
128
130
submodules : recursive
129
131
ssh-key : ${{ secrets.SSH_KEY }}
130
132
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
133
137
134
138
- name : Mount bazel cache
135
139
uses : actions/cache@v4
You can’t perform that action at this time.
0 commit comments