Skip to content

Commit

Permalink
[action] use matrix strategy in release.test | bump to 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
dopey committed Apr 13, 2021
1 parent c71d56e commit f02d97e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
test:
name: Lint, Test, Build
runs-on: ubuntu-20.04
strategy:
matrix:
go: [ '1.15', '1.16' ]
outputs:
is_prerelease: ${{ steps.is_prerelease.outputs.IS_PRERELEASE }}
steps:
Expand All @@ -20,7 +23,7 @@ jobs:
name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: ${{ matrix.go }}
-
name: Install Deps
id: install-deps
Expand Down Expand Up @@ -120,7 +123,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: '1.16'
-
name: APT Install
id: aptInstall
Expand Down Expand Up @@ -150,7 +153,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.15.8'
go-version: '1.16'
- name: Build
id: build
run: |
Expand Down

0 comments on commit f02d97e

Please sign in to comment.