Skip to content

Commit

Permalink
ormolu check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shayne-fletcher committed Aug 1, 2024
1 parent b0493ab commit ceb9dbf
Show file tree
Hide file tree
Showing 5 changed files with 679 additions and 576 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ormolu-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: ormolu-check
on:
push:
pull_request:
jobs:
ormolu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# - uses: haskell-actions/setup@v2
# id: setup-haskell
# with:
# cabal-version: 'latest'
# - run: |-
# cabal install ormolu
# echo "$HOME/.cabal/bin" >> $GITHUB_PATH
- uses: haskell-actions/run-ormolu@v16
with:
pattern: |
CI.hs
ghc-lib-gen/src/*.hs
examples/ghc-lib-test/ghc-lib-test-utils/src/*.hs
examples/ghc-lib-test/ghc-lib-test-mini-hlint/src/*.hs
examples/ghc-lib-test/ghc-lib-test-mini-compile/src/*.hs
mode: check
Loading

0 comments on commit ceb9dbf

Please sign in to comment.