stylish-haskell: check Haskell source files only

The style check was failing due to a changed stack.yaml.lock file.

(That file still should be updated, but this is not where it should
cause a failure.)
This commit is contained in:
Robert Vollmert
2019-08-27 09:35:27 -05:00
committed by Steve Chávez
parent 97035e0b8b
commit cdc1177762
+1 -1
View File
@@ -112,7 +112,7 @@ jobs:
command: git ls-files | grep '\.l\?hs$' | xargs stack exec -- hlint -X QuasiQuotes -X NoPatternSynonyms "$@"
- run:
name: run styler
command: git ls-files | grep '\.l\?hs$' | xargs stack exec -- stylish-haskell -i && git diff-index --exit-code HEAD --
command: git ls-files | grep '\.l\?hs$' | xargs stack exec -- stylish-haskell -i && git diff-index --exit-code HEAD -- '*.hs' '*.lhs'
build-test-9.6:
docker: