Skip to content

Commit 06081e2

Browse files
committed
add: clang-format check
1 parent 69647a3 commit 06081e2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/clang-format.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: clang-format
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'README.md'
7+
- 'doc/**'
8+
pull_request:
9+
paths-ignore:
10+
- 'README.md'
11+
- 'doc/**'
12+
13+
jobs:
14+
clang-format:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: DoozyX/[email protected]
20+
with:
21+
extensions: 'hpp,cpp'
22+
clangFormatVersion: 14

0 commit comments

Comments
 (0)