Skip to content

Commit

Permalink
Use haskell-actions/run-ormolu
Browse files Browse the repository at this point in the history
  • Loading branch information
fujimura committed Mar 14, 2024
1 parent f813941 commit 4737503
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ghc: ['latest']
cabal: ['latest']
ghc: ["latest"]
cabal: ["latest"]
steps:
- uses: actions/checkout@v4
- name: Setup Haskell
Expand All @@ -21,8 +21,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ghc: ['latest']
cabal: ['latest']
ghc: ["latest"]
cabal: ["latest"]
steps:
- uses: actions/checkout@v4
- name: Setup Haskell
Expand All @@ -45,6 +45,4 @@ jobs:
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- run: |
cabal install ormolu
ormolu --mode check $(git ls-files | grep "\.hs$")
- uses: haskell-actions/run-ormolu@v15

0 comments on commit 4737503

Please sign in to comment.