Browse Source

Add buf-based proto linting workflow in CI

Signed-off-by: Thane Thomson <connect@thanethomson.com>
pull/7975/head
Thane Thomson 3 years ago
parent
commit
88bdf4f56e
No known key found for this signature in database GPG Key ID: 19811391D676EE45
1 changed files with 21 additions and 0 deletions
  1. +21
    -0
      .github/workflows/proto-lint.yml

+ 21
- 0
.github/workflows/proto-lint.yml View File

@ -0,0 +1,21 @@
name: Protobuf Lint
on:
pull_request:
paths:
- 'proto/**'
push:
branches:
- master
paths:
- 'proto/**'
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1.1.0
- uses: bufbuild/buf-lint-action@v1
with:
input: 'proto'

Loading…
Cancel
Save