[action] use matrix strategy in release.test | bump to 1.16
This commit is contained in:
parent
c71d56e4ae
commit
f02d97e621
1 changed files with 6 additions and 3 deletions
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue