From cdc11777628cfdf0ae023128171eb92cbcaed428 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Tue, 27 Aug 2019 12:03:39 +0200 Subject: [PATCH] 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.) --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b1f1adadb..07b4d7907 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: