Skip to content

BUILD/MEDIUM: github: use latest patch version of go #54

BUILD/MEDIUM: github: use latest patch version of go

BUILD/MEDIUM: github: use latest patch version of go #54

Workflow file for this run

name: goreleaser
on:
push:
tags:
- '*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
# we have to fetch all history to be able to generate the release note. c.f. https://goreleaser.com/ci/actions/.
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
check-latest: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: 1.17.1
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}