Skip to content

Commit

Permalink
[action] use go version matrix for the test / build step
Browse files Browse the repository at this point in the history
  • Loading branch information
dopey committed Apr 13, 2021
1 parent fa9bcee commit c71d56e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c71d56e

Please sign in to comment.