.github/workflows/clang-format.yml
raw| 1 | name: clang-format check |
| 2 | on: [check_run, pull_request, push] |
| 3 | |
| 4 | jobs: |
| 5 | formatting-check: |
| 6 | name: formatting check |
| 7 | runs-on: ubuntu-latest |
| 8 | strategy: |
| 9 | matrix: |
| 10 | path: |
| 11 | - 'src' |
| 12 | - 'examples' |
| 13 | - 'include' |
| 14 | steps: |
| 15 | - uses: actions/checkout@v4 |
| 16 | - name: runs clang-format style check for C/C++/Protobuf programs. |
| 17 | uses: jidicula/[email protected] |
| 18 | with: |
| 19 | clang-format-version: '18' |
| 20 | check-path: ${{ matrix.path }} |