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] on: [push]
jobs: jobs:
tests-on: tests:
name: ${{matrix.go-version}} ${{matrix.os}} name: ${{matrix.os}} Tests
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
go-version: [1.13.x]
os: [macos-latest, windows-latest, ubuntu-latest] os: [macos-latest, windows-latest, ubuntu-latest]
steps: steps:
- name: Checkout Code - name: Set up Go 1.13
uses: actions/checkout@v1 uses: actions/setup-go@v1
with: 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 - name: Test
run: | run: |
go get -t ./...
go mod download go mod download
go mod tidy -v go mod tidy -v
go test -race ./... go test -race ./...