1 changed files with 21 additions and 0 deletions
@ -0,0 +1,21 @@
|
||||
name: clang-format check |
||||
|
||||
on: [push, pull_request] |
||||
|
||||
jobs: |
||||
formatting-check: |
||||
name: Formatting Check |
||||
runs-on: ubuntu-latest |
||||
strategy: |
||||
matrix: |
||||
path: |
||||
- 'Source' |
||||
- 'test' |
||||
steps: |
||||
- uses: actions/checkout@v2 |
||||
- name: Run clang-format style check for C/C++ programs. |
||||
uses: jidicula/clang-format-action@v3.4.0 |
||||
with: |
||||
clang-format-version: '11' |
||||
check-path: ${{ matrix.path }} |
||||
fallback-style: 'webkit' |
||||
Loading…
Reference in new issue