Skip to content

Commit

Permalink
matrix build
Browse files Browse the repository at this point in the history
  • Loading branch information
luxifer authored Jul 8, 2020
1 parent ef6902e commit fc21229
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
strategy:
matrix:
go: [ '1.13', '1.14' ]

- name: Set up Go 1.13
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v1
with:
go-version: 1.13
go-version: ${{ matrix.go }}
id: go

- name: Check out code into the Go module directory
Expand All @@ -19,10 +22,6 @@ jobs:
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Test
run: go test -v .

0 comments on commit fc21229

Please sign in to comment.