Skip to content

Commit

Permalink
Add hlint gh-action
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Apr 25, 2024
1 parent 5840300 commit bbac17b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/hlint.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit bbac17b

Please sign in to comment.