Skip to content

Commit

Permalink
Merge pull request #19 from bodgit/goreleaser
Browse files Browse the repository at this point in the history
Add goreleaser
  • Loading branch information
bodgit authored Apr 30, 2022
2 parents 43a6529 + e68deb5 commit 5eeb276
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- master
pull_request:
permissions:
contents: read
contents: write
pull-requests: read
jobs:
build:
Expand Down Expand Up @@ -46,3 +46,18 @@ jobs:
- uses: shogo82148/actions-goveralls@v1
with:
parallel-finished: true
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.18'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2.6.1
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 5 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
builds:
- skip: true
release:
prerelease: auto

0 comments on commit 5eeb276

Please sign in to comment.