Skip to content

Commit 8fe6d2a

Browse files
committed
Add fix-whitespace gh-action
1 parent f4af6b2 commit 8fe6d2a

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/workflows/whitespace.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: whitespace
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
check:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: andreasabel/fix-whitespace-action@v1

fix-whitespace.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
excluded-dirs:
2+
- "dist-newstyle"
3+
4+
included-files:
5+
- "**/*.cabal"
6+
- "**/*.dhall"
7+
- "**/*.hs"
8+
- "**/*.md"
9+
- "**/*.project"
10+
- "**/*.yaml"
11+
- "**/*.yml"

0 commit comments

Comments
 (0)