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.
39 lines
788 B
39 lines
788 B
name: clang-format check |
|
|
|
on: |
|
push: |
|
branches: |
|
- master |
|
paths-ignore: |
|
- '*.md' |
|
- 'docs/**' |
|
pull_request: |
|
types: [ opened, synchronize ] |
|
paths-ignore: |
|
- '*.md' |
|
- 'docs/**' |
|
|
|
concurrency: |
|
group: ${{ github.workflow }}-${{ github.ref }} |
|
cancel-in-progress: true |
|
|
|
jobs: |
|
formatting-check: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- name: Checkout |
|
uses: actions/checkout@v6 |
|
with: |
|
fetch-depth: 0 |
|
|
|
- name: Formatting Check (Source) |
|
uses: jidicula/clang-format-action@v4.17.0 |
|
with: |
|
clang-format-version: '18' |
|
check-path: 'Source' |
|
|
|
- name: Formatting Check (test) |
|
uses: jidicula/clang-format-action@v4.17.0 |
|
with: |
|
clang-format-version: '18' |
|
check-path: 'test'
|
|
|