Skip to content

Commit

Permalink
Upload coverage report only on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
otiai10 committed Apr 5, 2023
1 parent e362bd4 commit 21fa9b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/go-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
run: go test -v -cover -race -coverprofile=coverage -covermode=atomic

- name: Upload coverage
if: github.event_name == 'push'
uses: codecov/codecov-action@v3
with:
file: ./coverage
Expand Down

0 comments on commit 21fa9b5

Please sign in to comment.