Skip to content

Enable Semgrep CI Action #1

Enable Semgrep CI Action

Enable Semgrep CI Action #1

Workflow file for this run

name: CI
on:
push:
branches: [ '**' ]
pull_request:
branches: [ master ]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
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 }}-${{ matrix.os }}
# Share repository cache between workflows.
repository-cache: true
- name: Build all examples
run: bazelisk build //examples/...
- name: Run tests
run: bazelisk test //...