Skip to content

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

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

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

Workflow file for this run

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