Skip to content

Cache v2

Cache v2 #60

Workflow file for this run

name: Test
on:
push:
branches:
- ckmalloc
pull_request:
jobs:
check-build:
runs-on: ubuntu-latest
steps:
- name: Check out ckmalloc
uses: actions/checkout@v4
with:
path: ckmalloc
submodules: recursive
- uses: bazelbuild/setup-bazelisk@v3
- name: Mount bazel cache
uses: actions/cache@v4
env:
cache-name: cache-bazel-v2
with:
path: "~/.cache/bazel"
key: ${{ env.cache-name }}-${{ hashFiles('.bazelrc', '.bazelversion', 'WORKSPACE', 'MODULE.bazel' }}

Check failure on line 24 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 24, Col: 16): Unexpected end of expression: ''MODULE.bazel''. Located at position 53 within expression: hashFiles('.bazelrc', '.bazelversion', 'WORKSPACE', 'MODULE.bazel'
restore-keys: |
${{ env.cache-name }}-
- name: Install dependencies
run: |
sudo apt-get install libtinfo5
- name: Test
working-directory: ckmalloc
run: |
bazel test --config=test //...