aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/hlint-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/hlint-ci.yml')
-rw-r--r--.github/workflows/hlint-ci.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/hlint-ci.yml b/.github/workflows/hlint-ci.yml
new file mode 100644
index 00000000..7009e739
--- /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@v3
+ with:
+ submodules: true
+
+ - uses: rwe/actions-hlint-setup@v1
+ name: Set up HLint
+ with:
+ version: "3.4.1"
+
+ - 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