Skip to content

Commit ae92fb3

Browse files
authored
Don't cache sanitizer workflows (#630)
This workflow eats up ~40% of our GHA cache. This potentially slows down all other jobs and introduces flakiness in the form of `no space left on device` errors.
1 parent 30887a9 commit ae92fb3

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/sanitizers.yaml

+9-6
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,15 @@ jobs:
2525
- uses: >- # Custom commit at 2023-10-23
2626
bazelbuild/setup-bazelisk@5bc144ec07bd24eaa9b5c3e8c9af4006b033b629
2727
28-
- name: Mount bazel cache
29-
uses: >- # v3.3.2
30-
actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
31-
with:
32-
path: ~/.cache/bazel
33-
key: ${{ matrix.os }}-bazel-${{ matrix.sanitizer }}
28+
# TODO(aaronmondal): This cache is ~4 gigabytes in size and potentially
29+
# leads to `no space left on device` errors. Find a
30+
# more robust solution.
31+
# - name: Mount bazel cache
32+
# uses: >- # v3.3.2
33+
# actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
34+
# with:
35+
# path: ~/.cache/bazel
36+
# key: ${{ matrix.os }}-bazel-${{ matrix.sanitizer }}
3437

3538
- name: Run Bazel tests
3639
run: bazel test --config=${{ matrix.sanitizer }} //...

0 commit comments

Comments
 (0)