Skip to content

Add Github action to run Bazel tests for every PR #2

Add Github action to run Bazel tests for every PR

Add Github action to run Bazel tests for every PR #2

---

Check failure on line 1 in .github/workflows/run-bazel-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/run-bazel-tests.yml

Invalid workflow file

`pull-request` is not a valid event name
name: Run Bazel tests
on: [pull-request]
jobs:
run-bazel-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bazel-contrib/[email protected]
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
repository-cache: true
- run: bazel test ...