We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fccc6cd commit 3ea522aCopy full SHA for 3ea522a
.github/workflows/ci.yaml
@@ -48,4 +48,18 @@ jobs:
48
- name: Check GoReleaser
49
uses: goreleaser/goreleaser-action@v6
50
with:
51
- args: check
+ args: check
52
+
53
+ code_coverage:
54
+ name: "Code coverage report"
55
+ if: github.event_name == 'pull_request' # Do not run when workflow is triggered by push to main branch
56
+ runs-on: ubuntu-latest
57
+ needs: main
58
+ permissions:
59
+ contents: read
60
+ actions: read # to download code coverage results from "main" job
61
+ pull-requests: write # write permission needed to comment on PR
62
+ steps:
63
+ - uses: fgrosse/[email protected]
64
+ with:
65
+ coverage-file-name: "coverage.out"
0 commit comments