aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/hlint-ci.yml
blob: b6bdc029583fbad4fc5f0f9e35e9902347be5163 (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@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