Thomas E Lackey
965d7dbb66
Some checks failed
Tests / test-rpc (push) Waiting to run
Tests / sdk_tests (push) Waiting to run
Lint / Run flake8 on python integration tests (push) Successful in 3m24s
Tests / test-unit (push) Has been cancelled
Lint / Run golangci-lint (push) Has been cancelled
Tests / test-importer (push) Has been cancelled
As a first step on cerc-io/laconicd#116, provide a minimal set of actions which are either already working or expected to work on Gitea. Reviewed-on: cerc-io/laconicd#138 Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com> Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
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"
|