-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use GOBadge instead tj-actions to make it more flexible for us…
…; revert back coverage badge changes on README.md;
- Loading branch information
Showing
2 changed files
with
8 additions
and
7 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 |
---|---|---|
|
@@ -49,11 +49,14 @@ jobs: | |
- name: Run Automated Tests | ||
run: make test | ||
|
||
- name: Go Coverage Badge | ||
uses: tj-actions/coverage-badge-go@v2 | ||
with: | ||
green: 80 | ||
filename: ./.tmp/cov-report/coverage.out | ||
- name: Install Go | ||
uses: actions/[email protected] | ||
|
||
- name: Install GOBadge | ||
run: go install github.com/AlexBeauchemin/gobadge@latest | ||
|
||
- name: Generate Coverage Badge | ||
run: gobadge -filename=./.tmp/cov-report/coverage.out -green=80 -target=README.md -label=coverage | ||
|
||
- name: Verify Changed files | ||
uses: tj-actions/verify-changed-files@v12 | ||
|
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