Skip to content

Bumping go version to v1.21 #11

Bumping go version to v1.21

Bumping go version to v1.21 #11

Workflow file for this run

name: release
on:
push:
tags:
- v*
jobs:
goreleaser:
runs-on: ubuntu-latest
environment: release
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
- name: Update new version in krew-index
uses: rajatjindal/[email protected]