Skip to content

Commit a9c32dc

Browse files
authored
Merge pull request #18 from tidesdb/kornev/add_format_CI_action
CI: add clang format CI action
2 parents 53b764c + 501a47c commit a9c32dc

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: '14'
13+
check-path: 'src'
14+
fallback-style: 'Mozilla' # optional

0 commit comments

Comments
 (0)