2020-07-14 16:37:41 -07:00
|
|
|
name: Tests
|
|
|
|
|
2021-08-27 15:24:21 -07:00
|
|
|
on: [push, pull_request]
|
2020-07-14 16:37:41 -07:00
|
|
|
jobs:
|
|
|
|
test:
|
2021-08-27 15:24:21 -07:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
go-version: [1.15.x, 1.16.x]
|
|
|
|
os: [ubuntu-latest, macos-latest, windows-latest, freebsd-latest, openbsd-latest]
|
|
|
|
runs-on: ${{ matrix.os }}
|
2020-07-14 16:37:41 -07:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Install go
|
|
|
|
uses: actions/setup-go@v2
|
|
|
|
with:
|
2020-11-12 22:29:38 +01:00
|
|
|
go-version: "^1"
|
2020-07-14 16:37:41 -07:00
|
|
|
|
|
|
|
- name: Run tests
|
2020-11-12 22:29:38 +01:00
|
|
|
run: go test ./...
|