Skip to content

CI

CI #329

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:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Cache
uses: actions/cache@v3
with:
path: ~/.cache/bazel
key: ${{ runner.os }}-build-cache
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Install go
uses: actions/setup-go@v4
with:
cache: true
- name: Execute tests
run: make test