diff options
author | Francis Lavoie <lavofr@gmail.com> | 2020-08-20 22:40:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-20 22:40:26 -0400 |
commit | ecbc1f85c5ada6c9e50a3f0b0724b8d7731349ba (patch) | |
tree | f4f8648d4a88853b102757b8eb56cb193cf2a31e /.github/workflows/release.yml | |
parent | 997ef522bc636bd2485408e63f55b9b043b2d975 (diff) |
ci: Tweaks for multi go version tests (#3673)
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r-- | .github/workflows/release.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 02129ab..763c9e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,14 +11,14 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - go-version: [ 1.14.x ] + go: [ '1.15' ] runs-on: ${{ matrix.os }} steps: - name: Install Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v2 with: - go-version: ${{ matrix.go-version }} + go-version: ${{ matrix.go }} - name: Checkout code uses: actions/checkout@v2 @@ -54,16 +54,16 @@ jobs: echo "::set-output name=tag_special::${TAG_SPECIAL}" - name: Cache the build cache - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.vars.outputs.go_cache }} - key: ${{ runner.os }}-go-release-${{ hashFiles('**/go.sum') }} + key: ${{ runner.os }}-go${{ matrix.go }}-release-${{ hashFiles('**/go.sum') }} restore-keys: | - ${{ runner.os }}-go-release + ${{ runner.os }}-go${{ matrix.go }}-release # GoReleaser will take care of publishing those artifacts into the release - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v1 + uses: goreleaser/goreleaser-action@v2 with: version: latest args: release --rm-dist |