From 76024d4ed43ad89d1e826bce3a2029610925c630 Mon Sep 17 00:00:00 2001 From: umarcor Date: Tue, 29 Jun 2021 03:59:58 +0200 Subject: [PATCH] ci: test golang 1.16.x too --- .github/workflows/Test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index c34c2fbbea..c78d591e97 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -20,6 +20,7 @@ jobs: go: - 1.14.x - 1.15.x + - 1.16.x name: '${{ matrix.platform }} | ${{ matrix.go }}' runs-on: ${{ matrix.platform }}-latest steps: @@ -39,8 +40,9 @@ jobs: - run: | export GOBIN=$HOME/go/bin curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | bash -s -- -b $GOBIN latest - go install github.com/kyoh86/richgo - go install github.com/mitchellh/gox + [ "${{ matrix.go }}" = "1.16.x" ] && _version='@latest' || _version='' + go install github.com/kyoh86/richgo"${_version}" + go install github.com/mitchellh/gox"${_version}" - run: PATH=$HOME/go/bin/:$PATH make