Skip to content

Commit 951dfda

Browse files
committed
Add github action to check the code style
1 parent 096e865 commit 951dfda

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: clang_format_ubuntu
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
7+
clang-format-ubuntu:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: RafikFarhad/clang-format-github-action@master
12+
with:
13+
sources: "src/**/*.h,src/**/*.h.in,src/**/*.c"
14+
style: file

0 commit comments

Comments
 (0)