Skip to content

Commit

Permalink
gh-actions: introduce bazel cache
Browse files Browse the repository at this point in the history
  • Loading branch information
TimotheusBachinger committed Jan 15, 2025
1 parent eff30e4 commit b847f84
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ jobs:
with:
key: uv-${{ runner.os }}-${{ hashFiles('requirements_all_lock.txt') }}
path: ${{ env.UV_CACHE_DIR }}
- name: Cache bazel
uses: actions/cache@v3
with:
key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE', 'MODULE.bazel') }}
path: |
~/.cache/bazel
restore-keys: |
${{ runner.os }}-bazel-
- name: Setup Environment
run: |
# ksh: Needed for some "unit test" (test_mk_errpt_aix).
Expand Down

0 comments on commit b847f84

Please sign in to comment.