-
Notifications
You must be signed in to change notification settings - Fork 41
43 lines (42 loc) · 1.2 KB
/
proto.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Protobuf Checks
# This workflow runs some Protobuf related checks.
on:
pull_request:
paths:
- "**/**.proto"
- "**/go.mod"
- ".github/workflows/proto.yml"
jobs:
buf_lint:
runs-on: ubuntu-latest
name: Protobuf Checks
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: bufbuild/[email protected]
- uses: bufbuild/buf-lint-action@v1
if: always()
with:
input: 'proto'
- uses: bufbuild/buf-breaking-action@v1
if: always()
with:
input: 'proto'
# The 'main' branch of the GitHub repository that defines the module.
against: 'buf.build/provenance-io/provenance'
- name: third_party breaking
if: always()
uses: bufbuild/buf-breaking-action@v1
with:
input: 'third_party/proto'
# The 'main' branch of the GitHub repository that defines the module.
against: 'buf.build/provenance-io/third-party'
- name: proto-update-check
if: always()
run: make proto-update-check