File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,15 @@ jobs:
12
12
steps :
13
13
14
14
- uses : actions/checkout@v4
15
+ with :
16
+ fetch-depth : 0
17
+
15
18
- name : Setup Go
19
+ id : go
16
20
uses : actions/setup-go@v5
17
21
with :
18
22
go-version : stable
19
23
check-latest : true
20
- id : go
21
24
22
25
- name : Get dependencies
23
26
run : |
@@ -30,11 +33,13 @@ jobs:
30
33
run : |
31
34
go test -race ./... && go vet ./...
32
35
33
- - uses : goreleaser/goreleaser-action@v6
36
+ - name : Build
37
+ uses : goreleaser/goreleaser-action@v6
34
38
with :
35
- args : build
39
+ args : build --snapshot --clean
36
40
37
- - uses : goreleaser/goreleaser-action@v6
41
+ - name : Release
42
+ uses : goreleaser/goreleaser-action@v6
38
43
if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
39
44
with :
40
45
version : latest
You can’t perform that action at this time.
0 commit comments