blob: 1bca3d1c0cf25b2bc32a4b7b40e6ea72d256f6e8 [file] [log] [blame]
on: [push, pull_request]
name: CI
jobs:
test:
strategy:
matrix:
go-version: [1.18.0]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
stable: false
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: |
go test -v -race ./...
# go vet ./...
# go test -bench=.