summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/proto-format-check.yml
blob: e88cb3b03d67699730c8b4c042af2b39ef40b355 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
name: Check formatting of proto files
on:
  pull_request:
    paths:
      - '**/*.proto'
  workflow_dispatch:
jobs:
  check-formatting:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Run clang-format for proto files
        uses: jidicula/clang-format-action@v4.11.0
        with:
          clang-format-version: 15
          include-regex: ^.*\.proto$