Skip to content

Commit

Permalink
refactoring(ci): upgrade ormolu check
Browse files Browse the repository at this point in the history
  • Loading branch information
blackheaven committed Nov 14, 2023
1 parent d73df2e commit 216bd85
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ormolu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: mrkkrp/ormolu-action@v6
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v37
with:
# globs copied from default settings for run-ormolu
files: |
**/*.hs
**/*.hs-boot
separator: "\n"
- uses: haskell-actions/run-ormolu@v14
with:
version: "0.5.3.0"
pattern: ${{ steps.changed-files.outputs.all_changed_files }}

0 comments on commit 216bd85

Please sign in to comment.