diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d1b15c0..448a848 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 ./... - -