mirror of
https://github.com/hexolan/stocklet.git
synced 2026-03-26 11:41:18 +00:00
ci: add buf format and linting workflow
This commit is contained in:
20
.github/workflows/protobuf-ci.yaml
vendored
Normal file
20
.github/workflows/protobuf-ci.yaml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Protobuf CI
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, labeled, unlabeled]
|
||||
delete:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
buf:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: bufbuild/buf-action@v1
|
||||
with:
|
||||
input: schema/protobufs
|
||||
Reference in New Issue
Block a user