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