Skip to content

Commit 22da247

Browse files
committed
CI: Add whitespace linting
1 parent e24fe3c commit 22da247

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/lint.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Lint
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- master
7+
tags:
8+
- "*"
9+
pull_request:
10+
jobs:
11+
lint:
12+
name: Test
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Setup
17+
run: pip install trim
18+
19+
- name: Check whitespace
20+
run: |
21+
trim *.cmake
22+
git diff --exit-code

0 commit comments

Comments
 (0)