-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Utku Ozdemir <[email protected]>
- Loading branch information
1 parent
e84a75d
commit b3668d6
Showing
9 changed files
with
213 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
coverage: | ||
status: | ||
patch: off | ||
project: | ||
default: | ||
target: 50% | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,17 +46,14 @@ jobs: | |
# renovate: depName=golangci/golangci-lint datasource=github-releases | ||
version: v1.62.2 | ||
args: --timeout=3m0s | ||
- name: Install richgo | ||
# renovate: depName=kyoh86/richgo | ||
run: go install github.com/kyoh86/[email protected] | ||
- name: Run tests | ||
run: richgo test -race -coverpkg=./... -coverprofile=coverage.txt -covermode=atomic -timeout 20m -v ./... | ||
env: | ||
RICHGO_FORCE_COLOR: 1 | ||
run: go test -race -coverpkg=./... -coverprofile ./coverage.out -covermode=atomic -timeout 20m ./... | ||
- name: Print coverage results | ||
run: go tool cover -func ./coverage.out | ||
- name: Send coverage | ||
uses: codecov/[email protected] | ||
with: | ||
files: coverage.txt | ||
files: coverage.out | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
- name: Build with Goreleaser | ||
uses: goreleaser/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
--- | ||
version: 2 | ||
before: | ||
hooks: | ||
- go mod download | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.