Skip to content

Commit

Permalink
decompose stylish and hlint
Browse files Browse the repository at this point in the history
  • Loading branch information
paweljakubas committed Dec 5, 2022
1 parent c06d369 commit c594881
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,16 @@ jobs:
- name: 📥 Checkout repository
uses: actions/checkout@v1

- name: ✍ Check hlint and stylish
- name: ✍ Check hlint
env:
VERSION: v0.11.0.0
run: |
curl -sSL https://raw.github.com/ndmitchell/hlint/master/misc/run.sh | sh -s .
- name: ✍ Check stylish-haskell
env:
VERSION: v0.11.0.0
run: |
curl -sSL https://raw.github.com/input-output-hk/adrestia/master/templates/haskell/stylish-haskell.sh | sh -s $(git ls-files '*.hs') -i
if [ -z "$(git status --porcelain)" ]; then
echo "No style errors detected."
Expand Down

0 comments on commit c594881

Please sign in to comment.