Skip to content

Commit

Permalink
ci: only upload code coverage for latest stable build
Browse files Browse the repository at this point in the history
radhermit committed Jun 18, 2024
1 parent 5afbe3f commit c22ea05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -108,7 +108,7 @@ jobs:
go test -v -race -coverprofile=coverage.out ./...
- name: Upload coverage to Codecov
if: ${{ inputs.event-type == '' && github.ref_name == 'main' }}
if: ${{ inputs.event-type == '' && github.ref_name == 'main' && matrix.go-version == 'stable' }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit c22ea05

Please sign in to comment.