Skip to content

Commit

Permalink
Add HLint to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kozross committed Jan 21, 2025
1 parent 9a1c22f commit d4fea53
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/covenant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
windows-version: "latest"
version: 0.1.7.1
ormolu:
name: "Checks formatting with Ormolu"
name: "Check formatting with Ormolu"
runs-on: ubuntu-latest
steps:
- name: Checkout base repo
Expand All @@ -30,6 +30,19 @@ jobs:
uses: haskell-actions/run-ormolu@v16
with:
mode: "check"
hlint:
name: "Check with HLint"
runs-on: ubuntu-latest
steps:
- name: Checkout base repo
uses: actions/checkout@v3
- name: Set up HLint
uses: haskell-actions/setup-hlint@v2
- name: Run HLint
uses: haskell-actions/run-hlint@v2
with:
path: src/
fail-on: warning
tests:
name: ${{ matrix.ghc }} on ${{ matrix.os }}
needs: [generate-matrix, ormolu]
Expand Down

0 comments on commit d4fea53

Please sign in to comment.