# yamllint disable
name: Test
on:
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Install Protobuf Headers
run: sudo apt-get install -y protobuf-compiler libprotobuf-dev
- name: Install Protobuf Headers
run: sudo apt-get install -y libprotobuf-dev
- uses: bazelbuild/setup-bazelisk@v2
- name: Mount bazel cache
uses: actions/cache@v3
with:
path: "~/.cache/bazel"
key: ${{ runner.os }}-bazel
- run: bazel test -c opt //tests