From dd26fcc3f1c5ff16399e860502be10c4ada37b8a Mon Sep 17 00:00:00 2001 From: Tony Zorman Date: Wed, 19 Oct 2022 19:59:12 +0200 Subject: [PATCH] CI: Add hlint workflow Closes: https://github.com/xmonad/xmonad-contrib/issues/669 --- .github/workflows/hlint.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/hlint.yaml diff --git a/.github/workflows/hlint.yaml b/.github/workflows/hlint.yaml new file mode 100644 index 00000000..18899df4 --- /dev/null +++ b/.github/workflows/hlint.yaml @@ -0,0 +1,22 @@ +name: hlint + +on: + push: + pull_request: + +jobs: + hlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: 'Set up HLint' + uses: haskell/actions/hlint-setup@v2 + with: + version: '3.4.1' + + - name: 'Run HLint' + uses: haskell/actions/hlint-run@v2 + with: + path: '["XMonad/", "tests/", "scripts/"]' + fail-on: status