Skip to content

Danielmashuda/demo bazel test #3

Danielmashuda/demo bazel test

Danielmashuda/demo bazel test #3

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/setup-bazel@0.14.0
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 //...