Skip to content

CI

CI #857

Workflow file for this run

name: CI
on:
push:
branches: [main]
tags: ['v*']
pull_request:
branches: [main]
schedule:
- cron: '15 22 * * *'
workflow_dispatch: {} # support manual runs
permissions:
contents: read
jobs:
test:
strategy:
matrix:
os: [ubuntu-24.04, macos-latest]
name: Unit tests
runs-on: ${{ matrix.os }}
steps:
- name: Cache
uses: actions/cache@v4
with:
path: ~/.cache/bazel
key: ${{ runner.os }}-build-cache
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install Make
run: choco install make
if: runner.os == 'Windows'
- name: Install go
uses: actions/setup-go@v5
with:
go-version: stable
cache: true
- name: Execute tests
run: make test