From bbac17b920f5bf55f4b48b60b2cb8006e4979cd8 Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Thu, 25 Apr 2024 11:38:40 -0400 Subject: [PATCH] Add hlint gh-action --- .github/workflows/hlint.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/hlint.yml diff --git a/.github/workflows/hlint.yml b/.github/workflows/hlint.yml new file mode 100644 index 00000000..6a714a97 --- /dev/null +++ b/.github/workflows/hlint.yml @@ -0,0 +1,23 @@ +name: hlint + +on: + pull_request: + push: + branches: + - main + +jobs: + hlint: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - uses: haskell-actions/hlint-setup@v2 + with: + version: "3.8" + + - uses: haskell-actions/hlint-run@v2 + with: + path: '["src/", "repl/", "tests/"]' + fail-on: suggestion