Skip to content

Update to go 1.22 (#108) #55

Update to go 1.22 (#108)

Update to go 1.22 (#108) #55

Workflow file for this run

---
name: Release
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- '*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Build & Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
make get-bins
make test
make gorelease
- name: Update new version in krew-index
uses: rajatjindal/[email protected]
with:
krew_template_file: krew.yaml