From e53854655a796579efcaaf1c4321f388910af3d0 Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Mon, 2 May 2022 08:46:38 -0400 Subject: Add hlint action .hlint.yaml with ignores & CPP. (#1475) --- .github/workflows/hlint-ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/hlint-ci.yml (limited to '.github/workflows') diff --git a/.github/workflows/hlint-ci.yml b/.github/workflows/hlint-ci.yml new file mode 100644 index 00000000..b6bdc029 --- /dev/null +++ b/.github/workflows/hlint-ci.yml @@ -0,0 +1,26 @@ +name: hlint + +on: + pull_request: + push: + +jobs: + build: + name: hlint + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + with: + submodules: true + + - uses: rwe/actions-hlint-setup@v1 + name: Set up HLint + with: + version: "3.3.6" + + - uses: rwe/actions-hlint-run@v2 + name: hlint + with: + path: '[ "haddock-library/", "haddock-api/", "haddock-test/", "hoogle-test/", "html-test/", "hypsrc-test/", "latex-test/" ]' + fail-on: suggestion \ No newline at end of file -- cgit v1.2.3