Skip to content

GitHub Workflow updates & testing #60

GitHub Workflow updates & testing

GitHub Workflow updates & testing #60

Workflow file for this run

name: Go build
on:
pull_request:
branches:
- main
paths-ignore:
- "README.md"
push:
branches:
- main
paths-ignore:
- "README.md"
# We test at a regular interval to ensure we are alerted to something breaking due
# to an API change, even if the code did not change.
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go:
- "1.19"
- "1.20"
- "1.21"
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Build
run: go build -v ./...
- name: Test
run: make test
- name: E2E Test
run: make e2e