Skip to content

Danielmashuda/demo bazel test #5

Danielmashuda/demo bazel test

Danielmashuda/demo bazel test #5

Workflow file for this run

name: Bazel
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bazel-contrib/[email protected]
with:
# Avoid downloading Bazel every time.
bazelisk-cache: true
# Store build cache per workflow.
disk-cache: ${{ github.workflow }}
# Share repository cache between workflows.
repository-cache: true
- run: bazel build //...
- run: bazel test //...