Skip to content

Squash merge golden-tests into main #42

Squash merge golden-tests into main

Squash merge golden-tests into main #42

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: haskell-actions/run-fourmolu@v10
# with:
# version: "0.15.0.0" # per hls 2.9.0.0
# pattern: |
# src
# app
# test
hlint:
runs-on: ubuntu-latest
permissions:
security-events: write # Needed to upload results to GitHub code scanning.
steps:
- uses: actions/checkout@v4
- name: 'Set up HLint'
uses: haskell-actions/hlint-setup@v2
with:
version: '3.8'
- name: 'Run HLint Scan'
uses: haskell-actions/hlint-scan@v1
- name: 'Run HLint'
uses: haskell-actions/hlint-run@v2
with:
path: '["app"]'
fail-on: warning