[action] use go version matrix for the test / build step

This commit is contained in:
max furman 2021-04-13 15:47:26 -07:00
parent fa9bceefa2
commit c71d56e4ae

View file

@ -11,7 +11,10 @@ on:
jobs:
lintTestBuild:
name: Lint, Test, Build
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
go: [ '1.15', '1.16' ]
steps:
-
name: Checkout
@ -20,7 +23,7 @@ jobs:
name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.15.6'
go-version: ${{ matrix.go }}
-
name: Install Deps
id: install-deps