[action] use matrix strategy in release.test | bump to 1.16

This commit is contained in:
max furman 2021-04-13 15:53:49 -07:00
parent c71d56e4ae
commit f02d97e621

View file

@ -10,6 +10,9 @@ jobs:
test: test:
name: Lint, Test, Build name: Lint, Test, Build
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
strategy:
matrix:
go: [ '1.15', '1.16' ]
outputs: outputs:
is_prerelease: ${{ steps.is_prerelease.outputs.IS_PRERELEASE }} is_prerelease: ${{ steps.is_prerelease.outputs.IS_PRERELEASE }}
steps: steps:
@ -20,7 +23,7 @@ jobs:
name: Setup Go name: Setup Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: '1.15.8' go-version: ${{ matrix.go }}
- -
name: Install Deps name: Install Deps
id: install-deps id: install-deps
@ -120,7 +123,7 @@ jobs:
name: Set up Go name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: '1.15.8' go-version: '1.16'
- -
name: APT Install name: APT Install
id: aptInstall id: aptInstall
@ -150,7 +153,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: '1.15.8' go-version: '1.16'
- name: Build - name: Build
id: build id: build
run: | run: |