Skip to content

Commit 37487f3

Browse files
authored
chore: add clang-format-lint action
1 parent 9ab8318 commit 37487f3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: clang-format-linter
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: DoozyX/clang-format-lint-action@v0.13
14+
with:
15+
source: '.'
16+
extensions: 'c,cpp,java'
17+
clangFormatVersion: 12

0 commit comments

Comments
 (0)