Skip to content

Merge pull request #41 from circled-me/v2 #44

Merge pull request #41 from circled-me/v2

Merge pull request #41 from circled-me/v2 #44

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.13, 1.11]
env:
GO111MODULE: auto
steps:
- uses: actions/checkout@v1
- name: Setup go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
- name: Download dependencies
run: go mod download && go mod verify && go mod graph
- name: Build tests
run: go test -c
- name: Run unit tests
run: go test -race -cover ./...
- name: Test building on windows
env: {GOOS: windows}
run: go test -c
- name: Test building on darwin
env: {GOOS: darwin}
run: go test -c