diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0225e19..34bbddf 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 @@ -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 .