Thomas E Lackey
4e9ff52729
Some checks failed
Pull Request Labeler / triage (pull_request) Failing after 6s
Dependency Review / dependency-review (pull_request) Failing after 1m34s
Lint / Run golangci-lint (pull_request) Successful in 3m24s
Semgrep / Scan (pull_request) Failing after 13s
Tests / cleanup-runs (pull_request) Failing after 4s
Lint / Run flake8 on python integration tests (pull_request) Successful in 3m51s
Run Gosec / Gosec (pull_request) Failing after 7m29s
Tests / test-unit-cover (pull_request) Failing after 5m30s
Tests / test-rpc (pull_request) Successful in 5m32s
Tests / test-importer (pull_request) Failing after 12m18s
Tests / sdk_tests (pull_request) Has been cancelled
29 lines
794 B
YAML
29 lines
794 B
YAML
name: Protobuf
|
|
# Protobuf runs buf (https://buf.build/) lint and check-breakage
|
|
# This workflow is only run when a .proto file has been changed
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "proto/**"
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: bufbuild/buf-setup-action@v1.9.0
|
|
- uses: bufbuild/buf-lint-action@v1
|
|
with:
|
|
input: "proto"
|
|
|
|
break-check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: bufbuild/buf-setup-action@v1.9.0
|
|
- uses: bufbuild/buf-breaking-action@v1
|
|
with:
|
|
input: "proto"
|
|
against: "https://github.com/${{ github.repository }}.git#branch=${{ github.event.pull_request.base.ref }},ref=HEAD~1,subdir=proto"
|