Files
go-toml/.github/workflows/workflow.yml
T
2021-03-30 12:38:26 -04:00

25 lines
524 B
YAML

name: test
on:
push:
branches:
- v2-wip
pull_request:
branches:
- v2-wip
jobs:
build:
strategy:
matrix:
os: [ 'ubuntu-latest', 'windows-latest', 'macos-latest']
go: [ '1.15', '1.16' ]
runs-on: ${{ matrix.os }}
name: ${{ matrix.go }}/${{ matrix.os }}
steps:
- uses: actions/checkout@master
- name: Setup go ${{ matrix.go }}
uses: actions/setup-go@master
with:
go-version: ${{ matrix.go }}
- run: go test -race ./...