This commit is contained in:
Mark Bates 2019-12-03 15:32:08 -05:00
parent ec8c803b27
commit e4d652a24e
1 changed files with 10 additions and 9 deletions

View File

@ -2,23 +2,24 @@ name: Tests
on: [push]
jobs:
tests-on:
name: ${{matrix.go-version}} ${{matrix.os}}
tests:
name: ${{matrix.os}} Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.13.x]
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- name: Checkout Code
uses: actions/checkout@v1
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
fetch-depth: 1
go-version: 1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Test
run: |
go get -t ./...
go mod download
go mod tidy -v
go test -race ./...