Skip to content

Commit 36943af

Browse files
committed
Use a different Action workflow to run clang-format
1 parent 2cf2a49 commit 36943af

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/clang-format-check.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515
- name: Run clang-format style check for C/C++/Protobuf programs.
16-
uses: jidicula/clang-format-action@v4.13.0
16+
uses: DoozyX/clang-format-lint-action@v0.18
1717
with:
18-
clang-format-version: '13'
19-
check-path: ${{ matrix.path }}
20-
exclude-regex: 'include/json.hpp'
21-
fallback-style: 'Mozilla' # optional
18+
source: '.'
19+
exclude: 'include/json.hpp'
20+
extensions: 'h,cpp'
21+
clangFormatVersion: 13
22+
inplace: true

0 commit comments

Comments
 (0)