You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
605 B

  1. name: Protobuf
  2. # Protobuf runs buf (https://buf.build/) lint and check-breakage
  3. # This workflow is only run when a .proto file has been modified
  4. on:
  5. workflow_dispatch: # allow running workflow manually
  6. pull_request:
  7. paths:
  8. - "**.proto"
  9. jobs:
  10. proto-lint:
  11. runs-on: ubuntu-latest
  12. timeout-minutes: 4
  13. steps:
  14. - uses: actions/checkout@v2.3.4
  15. - name: lint
  16. run: make proto-lint
  17. proto-breakage:
  18. runs-on: ubuntu-latest
  19. timeout-minutes: 4
  20. steps:
  21. - uses: actions/checkout@v2.3.4
  22. - name: check-breakage
  23. run: make proto-check-breaking-ci