Skip to content

Commit 1105d48

Browse files
committed
Run clang-format lint on pull requests
1 parent 05c7ace commit 1105d48

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/clang-format.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: clang-format-lint
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: DoozyX/clang-format-lint-action@v0.16.2
12+
with:
13+
source: './src'
14+
style: file
15+
clangFormatVersion: 14

0 commit comments

Comments
 (0)