Skip to content

Bump Go 1.21 (#21)

Bump Go 1.21 (#21) #52

Workflow file for this run

name: goreleaser
on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
- main
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '~1.21.7'
- run: go build
- name: Run GoReleaser
if: startsWith(github.ref, 'refs/tags/')
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}