Skip to content

Commit

Permalink
adding coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelarte committed Nov 9, 2024
1 parent d88bd43 commit 60b98ed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@ jobs:
uses: vladopajic/go-test-coverage@v2
with:
config: ./.testcoverage.yml
## when token is not specified (value '') this feature is turned off
## in this example badge is created and committed only for main branch
git-token: ${{ github.ref_name == 'main' && secrets.GITHUB_TOKEN || '' }}
## name of branch where badges are stored
## ideally this should be orphan branch (see below how to create this branch)
git-branch: badges

0 comments on commit 60b98ed

Please sign in to comment.