Skip to content

Commit

Permalink
Disable go mod tidy goreleaser hook
Browse files Browse the repository at this point in the history
  • Loading branch information
acaloiaro committed Mar 7, 2023
1 parent b88400a commit 1a9db7c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,23 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
-
name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Bump version and push tag
-
name: Bump version and push tag
uses: anothrNick/github-tag-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: patch
- name: Set up Go
-
name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20
- name: Run GoReleaser
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
Expand Down
5 changes: 0 additions & 5 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
Expand Down

0 comments on commit 1a9db7c

Please sign in to comment.