Skip to content

Commit 6a63354

Browse files
committed
ci: formatting check
1 parent 9623b9e commit 6a63354

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,17 @@ jobs:
1616
- name: Check if the git repository is clean
1717
run: $(exit $(git status --porcelain --untracked-files=no | head -255 | wc -l)) || (echo "Dirty git tree"; git diff; exit 1)
1818
- run: npm run lint
19+
clang:
20+
name: Clang-Format Check
21+
runs-on: ubuntu-latest
22+
strategy:
23+
matrix:
24+
path:
25+
- 'ios'
26+
- 'android'
27+
steps:
28+
- uses: actions/checkout@v4
29+
- uses: jidicula/clang-format-action@v4.15.0
30+
with:
31+
clang-format-version: '17'
32+
include-regex: '^.*(\.h|\.m|\.java)'

0 commit comments

Comments
 (0)