From c71d56e4ae0843a12484dc6aed5ab3d9832849fa Mon Sep 17 00:00:00 2001 From: max furman Date: Tue, 13 Apr 2021 15:47:26 -0700 Subject: [PATCH] [action] use go version matrix for the test / build step --- .github/workflows/test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 23f43b0e..68349653 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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