File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 1
- name : Coverage Report
1
+ name : Build
2
2
3
3
on :
4
4
- push
5
5
- pull_request
6
6
7
7
jobs :
8
- TestAndReport :
8
+ Test :
9
9
runs-on : ubuntu-20.04
10
10
steps :
11
11
- name : Set up Go
21
21
CODACY_PROJECT_TOKEN : ${{ secrets.CODACY_PROJECT_TOKEN }}
22
22
run : |
23
23
bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage.out --force-coverage-parser go
24
+
25
+ Build :
26
+ runs-on : ubuntu-20.04
27
+ steps :
28
+ - name : Set up Go
29
+ uses : actions/setup-go@v3
30
+ with :
31
+ go-version : 1.18.x
32
+
33
+ - name : Run GoReleaser
34
+ uses :
goreleaser/[email protected]
35
+ with :
36
+ github_token : ${{ secrets.GH_PUBLISH_SECRETS }}
37
+ version : v1.14.0
38
+ args : release --skip-publish --rm-dist --snapshot
Original file line number Diff line number Diff line change 8
8
- env :
9
9
- CGO_ENABLED=0
10
10
binary : atest
11
- dir : cmd
12
11
goos :
13
12
- linux
14
13
- windows
File renamed without changes.
You can’t perform that action at this time.
0 commit comments