2021-05-03 23:58:48 +00:00
|
|
|
on: [push, pull_request]
|
|
|
|
name: Check
|
|
|
|
jobs:
|
|
|
|
check:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-08-29 08:48:44 +00:00
|
|
|
go-version: [1.17.x]
|
2021-05-03 23:58:48 +00:00
|
|
|
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 }}
|
|
|
|
- name: Install go-sumtype
|
2021-08-30 09:10:25 +00:00
|
|
|
run: go get github.com/sudarshan-reddy/go-sumtype
|
2021-05-03 23:58:48 +00:00
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Test
|
|
|
|
run: make test
|