Skip to content

Transformation across jbeam files #1356

Transformation across jbeam files

Transformation across jbeam files #1356

name: Lint & format
on:
push:
branches: [master]
pull_request:
jobs:
lint-and-format:
if: github.event.pull_request.draft != true
name: Lint and format
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up HLint
uses: haskell-actions/hlint-setup@v2
with:
version: latest
- name: Run hlint
uses: haskell-actions/hlint-run@v2.4.10
with:
fail-on: warning
- name: Run fourmolu
uses: haskell-actions/run-fourmolu@v11
with:
pattern: |
**/*.hs
!examples/ast/*/*.hs
version: latest
- name: Check bash formatting
run: |
sudo apt update > /dev/null 2>&1
sudo apt install -y shfmt > /dev/null 2>&1
shfmt -d .github/scripts
env:
FORCE_COLOR: true