Skip to content

Commit 1a9db7c

Browse files
committed
Disable go mod tidy goreleaser hook
1 parent b88400a commit 1a9db7c

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

.github/workflows/goreleaser.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,23 @@ jobs:
99
goreleaser:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v2
12+
-
13+
name: Checkout
14+
uses: actions/checkout@v3
1415
with:
1516
fetch-depth: 0
16-
- name: Bump version and push tag
17+
-
18+
name: Bump version and push tag
1719
uses: anothrNick/github-tag-action@v1
1820
env:
1921
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2022
WITH_V: true
2123
DEFAULT_BUMP: patch
22-
- name: Set up Go
24+
-
25+
name: Set up Go
2326
uses: actions/setup-go@v3
24-
with:
25-
go-version: 1.20
26-
- name: Run GoReleaser
27+
-
28+
name: Run GoReleaser
2729
uses: goreleaser/goreleaser-action@v4
2830
with:
2931
# either 'goreleaser' (default) or 'goreleaser-pro'

.goreleaser.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
# This is an example .goreleaser.yml file with some sensible defaults.
2-
# Make sure to check the documentation at https://goreleaser.com
3-
before:
4-
hooks:
5-
- go mod tidy
61
builds:
72
- env:
83
- CGO_ENABLED=0

0 commit comments

Comments
 (0)