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