File tree Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,16 @@ jobs:
17
17
with :
18
18
fetch-depth : 0
19
19
- run : git fetch --force --tags
20
- - uses : actions/setup-go@v3
20
+
21
+ - name : Install Go
22
+ uses : actions/setup-go@v5
21
23
with :
22
- go-version : ' stable '
23
- cache : true
24
- - uses : goreleaser/goreleaser-action@v2
24
+ go-version-file : go.mod
25
+
26
+ - uses : goreleaser/goreleaser-action@v6
25
27
with :
26
- distribution : goreleaser
27
- version : latest
28
- args : release --rm-dist
28
+ distribution : goreleaser # or 'goreleaser-pro'
29
+ version : " ~> v2 " # or ' latest', 'nightly', semver
30
+ args : release --clean
29
31
env :
30
32
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ /dist /
Original file line number Diff line number Diff line change 1
1
# This is an example .goreleaser.yml file with some sensible defaults.
2
2
# Make sure to check the documentation at https://goreleaser.com
3
+ version : 2
3
4
before :
4
5
hooks :
5
6
# You may remove this if you don't use go modules.
@@ -25,7 +26,7 @@ archives:
25
26
checksum :
26
27
name_template : ' checksums.txt'
27
28
snapshot :
28
- name_template : " {{ incpatch .Version }}-next"
29
+ version_template : " {{ incpatch .Version }}-next"
29
30
changelog :
30
31
sort : asc
31
32
filters :
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx2
7
7
github.com/bwesterb/go-ristretto v1.2.0 /go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0 =
8
8
github.com/bwesterb/go-ristretto v1.2.3 /go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0 =
9
9
github.com/cloudflare/circl v1.1.0 /go.mod h1:prBCrKB9DV4poKZY1l9zBXg2QJY7mvgRvtMxxK7fi4I =
10
- github.com/cloudflare/circl v1.3.3 h1:fE/Qz0QdIGqeWfnwq0RE0R7MI51s0M2E4Ga9kq5AEMs =
11
10
github.com/cloudflare/circl v1.3.3 /go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA =
12
11
github.com/cloudflare/circl v1.3.8 h1:j+V8jJt09PoeMFIu2uh5JUyEaIHTXVOHslFoLNAKqwI =
13
12
github.com/cloudflare/circl v1.3.8 /go.mod h1:PDRU+oXvdD7KCtgKxW95M5Z8BpSCJXQORiZFnBQS5QU =
You can’t perform that action at this time.
0 commit comments