23 lines
464 B
YAML
Raw Normal View History

2020-11-23 14:20:53 -08:00
name: test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
strategy:
matrix:
2022-05-18 10:20:18 -07:00
go-version: [1.17.x]
2020-11-23 14:20:53 -08:00
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: go test -v -race ./...