Improve check target to test data/ too.

This commit is contained in:
John MacFarlane
2020-12-18 12:05:24 -08:00
parent 6abe406aea
commit 757dbc637b
2 changed files with 7 additions and 12 deletions
+1 -6
View File
@@ -26,12 +26,7 @@ jobs:
uses: actions/checkout@v2
- name: Check cabal file for missing test files
run: |
cabal sdist --list-only | sed 's/\.\///' | grep '^test\/' | \
sort > sdist-test-files.txt
git ls-tree -r --name-only HEAD | grep '^test\/' | \
sort > git-test-files.txt
diff -u git-test-files.txt sdist-test-files.txt
run: make check-cabal
- name: Download and run hlint
run: |