Skip to content

CI

CI #166

Workflow file for this run

name: CI
on:
push:
pull_request:
schedule:
- cron: '0 12 * * *' # Every day noon UTC
jobs:
build:
strategy:
matrix:
go:
- "1.18.x"
- "1.19.x"
- "1.20.x"
- "1.21.x"
- "1.22.x"
- "1.23.x"
# Don't cancel everything when one Go version fails
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Install Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Make "git describe" work
- run: go test
- run: go test -run ø -bench . -benchtime 1x