summaryrefslogtreecommitdiff
path: root/.github/workflows/clang-format.yml
blob: 9c448e22ac114f39663a2931d8524b3d459118b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: clang-format Check
on: [push]
jobs:
  formatting-check:
    if: 0
    name: Formatting Check
    runs-on: ubuntu-24.04
    strategy:
      matrix:
        path:
          - include
          - data
          - courses
          - src
    steps:
      - uses: actions/checkout@v4
      - name: Run clang-format style check for C/C++/Protobuf programs.
        uses: jidicula/clang-format-action@v4.13.0
        with:
          clang-format-version: "18"
          check-path: ${{ matrix.path }}
          exclude-regex: "gbi.h"