Skip to content

Commit e580821

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

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/lint.yaml

+23
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

aeon_router.proto

+3-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ service AeonRouterService {
6868
//
6969

7070
// Special value denoting null.
71-
enum NullValue { NULL_VALUE = 0; }
71+
enum NullValue {
72+
NULL_VALUE = 0;
73+
}
7274

7375
// Array of arbitrary-typed values.
7476
message ArrayValue { repeated Value fields = 1; }

0 commit comments

Comments
 (0)