Skip to content

Commit 651d0f4

Browse files
get the coverage comment info also on master
1 parent 5131295 commit 651d0f4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
runs-on: ubuntu-latest
3535

3636
steps:
37-
- run: echo ${{ matrix.ref }}
38-
3937
- uses: actions/checkout@v4
38+
with:
39+
ref: ${{ matrix.ref }}
4040

4141
- uses: haskell-actions/setup@v2
4242
with:
@@ -62,6 +62,11 @@ jobs:
6262
- run: cabal test all
6363
- run: cabal haddock all
6464

65+
- uses: actions/checkout@v4
66+
with:
67+
ref: ${{ github.head_ref }}
68+
sparse-checkout:
69+
scripts/generate-coverage-comment.sh
6570

6671
- if: ${{ github.event.pull_request }}
6772
run: ./scripts/generate-coverage-comment.sh constrained.tix | tee coverage-report.md

0 commit comments

Comments
 (0)