@@ -33,10 +33,6 @@ jobs:
34 curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
34 curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
36− - name: Install gcov2lcov
38− go install github.com/jandelgado/gcov2lcov@latest
40 - name: Verify Code Generation
36 - name: Verify Code Generation
42 make verify-generate
38 make verify-generate
@@ -61,10 +57,14 @@ jobs:
63 - name: Generate Coverage Report
59 - name: Generate Coverage Report
60+ if: github.event_name == 'push'
62+ go install github.com/jandelgado/gcov2lcov@latest
65 gcov2lcov -infile=c.out -outfile=lcov.info
63 gcov2lcov -infile=c.out -outfile=lcov.info
65+ - name: Upload Coverage Report
66+ if: github.event_name == 'push'
67− - uses: qltysh/qlty-action/coverage@v2
67+ uses: qltysh/qlty-action/coverage@v2
69 oidc: true
69 oidc: true
70 files: lcov.info
70 files: lcov.info