21 lines
435 B
YAML
21 lines
435 B
YAML
name: Tests
|
|
|
|
on: [push, pull_request]
|
|
jobs:
|
|
test:
|
|
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 }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: "^1"
|
|
|
|
- name: Run tests
|
|
run: go test ./...
|