Skip to content

Commit de9e4f9

Browse files
Setup clang-format checking action
1 parent 44d173e commit de9e4f9

File tree

1 file changed

+12
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)