Skip to content

updated go-releaser config to support go 1.22 #8

updated go-releaser config to support go 1.22

updated go-releaser config to support go 1.22 #8

Workflow file for this run

on:
push:
# run only against tags
tags:
- '*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22.0'
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --clean --config .goreleaser.yml
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}