Skip to content

Commit

Permalink
chore: Update GoReleaser Action config (#68)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
  • Loading branch information
danielpacak committed Jun 23, 2020
1 parent a0f1654 commit 8474833
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,8 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
- name: Build executable binary
run: make build
- name: Release snapshot
uses: goreleaser/goreleaser-action@v2
with:
version: v0.138.0
args: release --snapshot --skip-publish --rm-dist
7 changes: 4 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ jobs:
go-version: 1.14
- name: Checkout code
uses: actions/checkout@v2
- name: Unshallow # This step is required for the changelog to work correctly
run: git fetch --prune --unshallow
with:
fetch-depth: 0
- name: Run unit tests
run: make test
- name: Release
uses: goreleaser/goreleaser-action@v1
uses: goreleaser/goreleaser-action@v2
with:
version: v0.138.0
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8474833

Please sign in to comment.