File tree Expand file tree Collapse file tree 1 file changed +2
-29
lines changed Expand file tree Collapse file tree 1 file changed +2
-29
lines changed Original file line number Diff line number Diff line change 5353 compression-level : 0
5454 retention-days : 1
5555
56- coverage :
57- name : Generate coverage badge
58-
59- runs-on : ubuntu-latest
60-
61- needs : linux
62-
63- permissions :
64- contents : read
65- pull-requests : write
66-
67- steps :
68- - uses : actions/checkout@v4
69- - uses : haskell-actions/setup@v2
70- with :
71- ghc-version : latest
72-
73- - name : Download all artifacts
74- uses : actions/download-artifact@v4
75- with :
76- pattern : ' *-coverage'
77- merge-multiple : true
78-
79- - run : hpc sum constrained.tix constrained-*.tix
80-
81- - run : hpc report constrained.tix > report.md
82-
8356 - name : Find Comment
84- if : github.event.pull_request
57+ if : github.event.pull_request && ${{matrix.ghc-version}} == latest
8558 uses : peter-evans/find-comment@v3
8659 id : fc
8760 with :
9063 body-includes : " expressions used"
9164
9265 - name : Create or update comment
93- if : github.event.pull_request
66+ if : github.event.pull_request && ${{matrix.ghc-version}} == latest
9467 uses : peter-evans/create-or-update-comment@v4
9568 with :
9669 comment-id : ${{ steps.fc.outputs.comment-id }}
You can’t perform that action at this time.
0 commit comments