Skip to content

Commit

Permalink
Run cabal-gild on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
turion committed Feb 26, 2024
1 parent 4bad383 commit 92a4356
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,12 @@ jobs:
# - run: nix flake check

cabal-check:
name: Check all cabal files
name: Check and format all cabal files
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tfausak/cabal-gild-setup-action@v2
- run: ./cabal_check.sh

success:
Expand Down
1 change: 1 addition & 0 deletions cabal_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ for cabalfile in $(ls */*.cabal)
do
pushd $(dirname $cabalfile)
cabal check
cabal-gild --mode=check --input=$(basename $cabalfile)
popd
done

0 comments on commit 92a4356

Please sign in to comment.