Skip to content

CI

CI #251

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Run daily at 0:01 UTC
schedule:
- cron: '1 0 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
runs-on: ${{ matrix.os }}
name: build-and-test (${{ matrix.os }})
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.21.4'
- name: Run tests
run: for i in {1..10}; do make test && break; done
pass:
needs: [build-and-test]
runs-on: ubuntu-latest
steps:
- run: echo "All jobs passed"