Skip to content

Use GitHub Actions workflow to run test suite #1

Use GitHub Actions workflow to run test suite

Use GitHub Actions workflow to run test suite #1

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
# Test currently supported Go releases.
#
# See: https://go.dev/doc/devel/release#policy
go-version:
- stable
- oldstable
steps:
- uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: go test -v ./...