From 20295b46b17ec43bb69ce51f447e4d1052a9c2ac Mon Sep 17 00:00:00 2001 From: Dragos Carp Date: Tue, 12 May 2026 00:35:20 +0200 Subject: [PATCH] ci: enable bazel caching --- .github/workflows/bazel.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index 3e08fbb..f90e499 100644 --- a/.github/workflows/bazel.yml +++ b/.github/workflows/bazel.yml @@ -15,6 +15,13 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: bazel-contrib/setup-bazel@c5acdfb288317d0b5c0bbd7a396a3dc868bb0f86 # 0.19.0 + with: + bazelrc: common --config=ci + bazelisk-cache: true + disk-cache: true + external-cache: true + repository-cache: true + cache-save: ${{ github.event_name != 'pull_request' }} - name: "Build & Test" shell: bash - run: bazel test --config=ci //... + run: bazel test //...