Skip to content

Commit 47539d8

Browse files
committed
proto: add CI
This patch enables CI for proto files.
1 parent 9178a3f commit 47539d8

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/lint.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: lint
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
tags:
8+
- '**'
9+
pull_request:
10+
workflow_dispatch:
11+
12+
jobs:
13+
protobuf:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Check clang-format
20+
run: clang-format --version
21+
22+
- name: Checking protobuf syntax
23+
run: clang-format --dry-run --verbose -Werror *.proto

0 commit comments

Comments
 (0)