summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/proto-format-check.yml
blob: 70905c20057362a88bbb375f3f726ca0aa4f2989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
name: Check formatting of proto files
on:
  pull_request:
    paths:
      - '**/*.proto'
  workflow_dispatch:

permissions: {}

jobs:
  check-formatting:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Run clang-format for proto files
        uses: jidicula/clang-format-action@v4.11.0
        with:
          clang-format-version: 15
          include-regex: ^.*\.proto$