File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 - " *"
99
1010jobs :
11-
1211 build :
1312 runs-on : ubuntu-latest
1413 steps :
@@ -17,11 +16,11 @@ jobs:
1716 fetch-depth : 2
1817 - uses : actions/setup-go@v2
1918 with :
20- go-version : ' 1.14 '
19+ go-version : " 1.18 "
2120 - name : Run coverage
2221 run : go test -cover -race -coverprofile=coverage.txt -covermode=atomic ./internal/... ./pkg/... -coverpkg=./...
2322 - name : Upload coverage to Codecov
24- uses : codecov/codecov-action@v2
23+ uses : codecov/codecov-action@v2
2524 with :
2625 files : ./coverage.txt
2726
@@ -59,11 +58,11 @@ jobs:
5958 - name : Set up Go
6059 uses : actions/setup-go@v2
6160 with :
62- go-version : 1.16
61+ go-version : 1.18
6362 - name : Run GoReleaser
64- uses : goreleaser/goreleaser-action@v2
63+ uses : goreleaser/goreleaser-action@v3
6564 with :
6665 version : latest
6766 args : release --rm-dist
6867 env :
69- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
68+ GITHUB_TOKEN : ${{ secrets.PUBLISHER_TOKEN }}
Original file line number Diff line number Diff line change 1+ # .goreleaser.yaml
2+ builds :
3+ # You can have multiple builds defined as a yaml list
4+ - # Binary name.
5+ # Can be a path (e.g. `bin/app`) to wrap the binary in a directory.
6+ # Default is the name of the project directory.
7+ binary : codebase-analyzer
8+
9+ # GOOS list to build for.
10+ # For more info refer to: https://golang.org/doc/install/source#environment
11+ # Defaults are darwin and linux.
12+ goos :
13+ - freebsd
14+ - windows
15+ - linux
16+ - darwin
17+
18+ env :
19+ - CGO_ENABLED=0
20+
21+ universal_binaries :
22+ - replace : true
23+
24+ brews :
25+ - name : codebase-analyzer
26+ homepage : " https://github.com/flagship-io/codebase-analyzer"
27+ tap :
28+ owner : flagship-io
29+ name : homebrew-flagship
30+ commit_author :
31+ name : flagship
32+ email : flagship@abtasty.com
You can’t perform that action at this time.
0 commit comments