Skip to content

feat(go): updating go version and fixing lint (#31) #9

feat(go): updating go version and fixing lint (#31)

feat(go): updating go version and fixing lint (#31) #9

Workflow file for this run

name: release
on:
push:
tags:
- '*.*.*'
env:
# Golang version to use across CI steps
GOLANG_VERSION: '1.22'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: ${{ env.GOLANG_VERSION }}
- name: GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
- name: Update new version in krew-index
uses: rajatjindal/[email protected]