Skip to content

Use diff-package-api Workflow #157

Use diff-package-api Workflow

Use diff-package-api Workflow #157

Workflow file for this run

name: Linting
on:
pull_request:
push:
branches: ["main"]
jobs:
fourmolu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: fourmolu/fourmolu-action@v10
with:
pattern: |
src/**/*.hs
test/**/*.hs
hlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'Set up HLint'
uses: haskell-actions/hlint-setup@v2
with:
version: '3.8'
- name: 'Run HLint'
uses: haskell-actions/hlint-run@v2
with:
path: '["src/", "test/"]'
fail-on: warning