Skip to content

Commit ae4ba93

Browse files
birdayzclaude
andcommitted
Enable Bazel caching in CI
All three cache layers were disabled by default in setup-bazel, causing full rebuilds (~1100 actions) on every run. Enable bazelisk, disk, and repository caches. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f4a27df commit ae4ba93

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515

1616
- name: Setup Bazel
1717
uses: useblacksmith/setup-bazel@v1
18+
with:
19+
bazelisk-cache: true
20+
disk-cache: ${{ github.ref }}
21+
repository-cache: true
1822

1923
- name: Build and test
2024
run: bazelisk test //...

0 commit comments

Comments
 (0)