From 5bb5cfc570c360ca872716fe0d51688771975c9f Mon Sep 17 00:00:00 2001 From: koral Date: Sat, 25 Jan 2025 17:44:51 +0100 Subject: [PATCH] ci: Run hlint --- .github/workflows/tests.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index eb5bc4b..d01cf09 100755 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -48,10 +48,19 @@ jobs: enable-stack: true stack-version: 'latest' stack-no-global: true + + - name: 'Set up HLint' + uses: haskell-actions/hlint-setup@v2 + + - name: 'Run HLint' + uses: haskell-actions/hlint-run@v2 + with: + path: xml-conduit/src/ + # fail-on: warning + - name: Build and run tests shell: bash run: | set -ex - # stack upgrade --force-download stack --version stack test --fast --no-terminal --resolver=${{ matrix.resolver }}