Skip to content

*: implement goreleaser #1

*: implement goreleaser

*: implement goreleaser #1

Workflow file for this run

name: goreleaser
on:
pull_request:
push:
permissions:
contents: write
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@v4
with:
go-version: "1.21.5"
- name: OSXCross for CGO Support
run: |
git clone https://github.com/plentico/osxcross-target.git /osxcross/target
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: release --snapshot --clean