Skip to content

Commit d6890ba

Browse files
committed
Lint protobuf
1 parent daa8595 commit d6890ba

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Protobuf Linting
2+
# run buf lint (https://buf.build/)
3+
# This workflow is only run when a .proto file has been changed
4+
on:
5+
pull_request:
6+
paths:
7+
- "proto/**"
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
buf-lint:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: bufbuild/[email protected]
18+
19+
# lint checks
20+
- uses: bufbuild/buf-lint-action@v1
21+
with:
22+
input: "proto"

0 commit comments

Comments
 (0)