Skip to content

Test

Test #222

Workflow file for this run

name: Test
on:
- push
- pull_request
jobs:
test:
strategy:
fail-fast: false
matrix:
go-version: ["1.20", "1.21"]
runs-on: ubuntu-latest
name: Test (go v${{ matrix.go-version }})
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: go test -v ./...
- name: Test API
run: cd api; go test -v ./...