aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/hlint-ci.yml
blob: 7009e7392108a45de3399af804ac9192547b96b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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