Skip to content

Fix test-action.yml #339

Fix test-action.yml

Fix test-action.yml #339

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: |
app/**/*.hs
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: '["app", "test", "src"]'
fail-on: warning