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.

19 lines
504 B

  1. name: Proto check
  2. on: [pull_request]
  3. jobs:
  4. proto-checks:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@master
  8. - uses: technote-space/get-diff-action@v1
  9. id: git_diff
  10. with:
  11. SUFFIX_FILTER: .proto
  12. SET_ENV_NAME_INSERTIONS: 1
  13. SET_ENV_NAME_LINES: 1
  14. - name: lint
  15. run: make proto-lint
  16. if: "env.GIT_DIFF != ''"
  17. - name: check-breakage
  18. run: make proto-check-breaking-ci
  19. if: "env.GIT_DIFF != ''"