Skip to content

Merge pull request #148 from nabeken/release-please--branches--master #27

Merge pull request #148 from nabeken/release-please--branches--master

Merge pull request #148 from nabeken/release-please--branches--master #27

Workflow file for this run

name: Release
on:
push:
tags:
- 'v0.*'
env:
# renovate: datasource=golang-version depName=golang
GO_VERSION: '1.23.4'
jobs:
build:
name: Release
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5
with:
go-version: '${{ env.GO_VERSION }}'
id: go
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}