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.
31 lines
659 B
31 lines
659 B
name: clang-format check |
|
|
|
on: |
|
push: |
|
branches: |
|
- master |
|
pull_request: |
|
types: [ opened, synchronize ] |
|
|
|
jobs: |
|
formatting-check: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- name: Checkout |
|
uses: actions/checkout@v2 |
|
with: |
|
fetch-depth: 0 |
|
|
|
- name: Formatting Check (Source) |
|
uses: jidicula/clang-format-action@v4.3.1 |
|
with: |
|
clang-format-version: '13' |
|
check-path: 'Source' |
|
fallback-style: 'webkit' |
|
|
|
- name: Formatting Check (test) |
|
uses: jidicula/clang-format-action@v4.3.1 |
|
with: |
|
clang-format-version: '13' |
|
check-path: 'test' |
|
fallback-style: 'webkit'
|
|
|