Skip to content

Commit c5cbbb4

Browse files
authored
Added clang-format check action
1 parent 83af8cc commit c5cbbb4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/clang-format-check

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Clang Format Checker
2+
on:
3+
push:
4+
paths:
5+
- 'src/**'
6+
pull_request:
7+
paths:
8+
- 'src/**'
9+
env:
10+
BRANCH_NAME: master
11+
jobs:
12+
check-format:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: wolletd/clang-format-checker@v1
16+
with:
17+
target-ref: ${{ env. BRANCH_NAME }} # required, merge target

0 commit comments

Comments
 (0)