2022-02-17 15:07:12 -08:00
|
|
|
name: buf.build
|
2022-10-03 03:52:57 -07:00
|
|
|
on: # yamllint disable-line rule:truthy
|
2022-02-17 15:07:12 -08:00
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- ".github/workflows/buf-lint.yml"
|
|
|
|
- "**.proto"
|
|
|
|
jobs:
|
|
|
|
buf:
|
|
|
|
name: lint
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-03 06:59:07 -08:00
|
|
|
- uses: actions/checkout@v3
|
2022-08-02 06:06:12 -07:00
|
|
|
- uses: bufbuild/buf-setup-action@v1.7.0
|
2022-02-17 15:07:12 -08:00
|
|
|
- uses: bufbuild/buf-lint-action@v1
|
|
|
|
with:
|
|
|
|
input: 'prompb'
|
|
|
|
- uses: bufbuild/buf-breaking-action@v1
|
|
|
|
with:
|
|
|
|
input: 'prompb'
|
|
|
|
against: 'https://github.com/prometheus/prometheus.git#branch=main,ref=HEAD,subdir=prompb'
|