File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 5353 runs-on : ubuntu-latest
5454 needs : build # only run if the previous job finished successfully
5555 steps :
56+ - uses : jshufro/go-coverage-report@617a9ed3756854ba3a1649587539565be8a0b808
57+ with :
58+ coverage-artifact-name : " code-coverage"
59+ coverage-file-name : " cover.out"
60+ skip-comment : true
61+ id : report-step
5662 - name : Leave a comment with a link
5763 uses : actions/github-script@v6
5864 with :
6167 issue_number: context.issue.number,
6268 owner: context.repo.owner,
6369 repo: context.repo.repo,
64- body: '[Coverage Report](${{ needs.build.outputs.artifact-url }})'
70+ body: '[Coverage Report](${{ needs.build.outputs.artifact-url }})\n${{ steps.report-step.outputs.coverage_report }} '
6571 })
66- - uses : fgrosse/go-coverage-report@ff33f0f3f96d20ecb97198100852d2af288094ff
67- with :
68- coverage-artifact-name : " code-coverage"
69- coverage-file-name : " cover.out"
70- skip-comment : true
71- id : report-step
72- - run : echo ${{ steps.report-step.outputs.coverage_report }}
You can’t perform that action at this time.
0 commit comments