ソースを参照

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

max furman 5 年 前
親
コミット
f02d97e621
1 ファイル変更、6 行追加、3 行削除
  1. 6 3
      .github/workflows/release.yml

+ 6 - 3
.github/workflows/release.yml

@@ -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: |