Skip to content

Commit a9deb68

Browse files
committed
CI: add clang format CI action
1 parent 53b764c commit a9deb68

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: clang-format Check
2+
on: [push, pull_request]
3+
jobs:
4+
formatting-check:
5+
name: Formatting Check
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
- name: Run clang-format style check for C/C++/Protobuf programs.
10+
uses: jidicula/[email protected]
11+
with:
12+
clang-format-version: '19'
13+
check-path: 'src'
14+
fallback-style: 'Mozilla' # optional

0 commit comments

Comments
 (0)