gofimports/.github/workflows/goreleaser.yml

30 lines
564 B
YAML
Raw Normal View History

2022-11-24 16:16:32 +00:00
name: goreleaser
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
2023-02-25 16:34:20 +00:00
go-version: "1.20"
2022-11-24 16:16:32 +00:00
check-latest: true
cache: true
- uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}