Skip to content

use applyWhen

use applyWhen #974

Workflow file for this run

name: Normalize cabal file formatting
on:
push:
paths:
- '**.hs'
- '**.cabal'
branches:
- main
pull_request:
paths:
- '**.hs'
- '**.cabal'
branches:
- main
jobs:
gild:
name: Normalize cabal
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: tfausak/cabal-gild-setup-action@v2
with:
version: 1.3.0.1
- run: cabal-gild --input swarm.cabal --mode check