You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
485 B
21 lines
485 B
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'
|
|
|