@@ -33,10 +33,6 @@ jobs:
3333 run: |
3434 curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
3535
36− - name: Install gcov2lcov
37− run: |
38− go install github.com/jandelgado/gcov2lcov@latest
39−
4036 - name: Verify Code Generation
4137 run: |
4238 make verify-generate
@@ -61,10 +57,14 @@ jobs:
6157 make test
6258
6359 - name: Generate Coverage Report
60+ if: github.event_name == 'push'
6461 run: |
62+ go install github.com/jandelgado/gcov2lcov@latest
6563 gcov2lcov -infile=c.out -outfile=lcov.info
6664
67− - uses: qltysh/qlty-action/coverage@v2
65+ - name: Upload Coverage Report
66+ if: github.event_name == 'push'
67+ uses: qltysh/qlty-action/coverage@v2
6868 with:
6969 oidc: true
7070 files: lcov.info