20 lines
515 B
YAML
20 lines
515 B
YAML
|
name: Proto check
|
||
|
on: [pull_request]
|
||
|
jobs:
|
||
|
proto-checks:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@master
|
||
|
- uses: technote-space/get-diff-action@v1
|
||
|
id: git_diff
|
||
|
with:
|
||
|
SUFFIX_FILTER: .proto
|
||
|
SET_ENV_NAME_INSERTIONS: 1
|
||
|
SET_ENV_NAME_LINES: 1
|
||
|
- name: lint
|
||
|
run: make proto-lint-docker
|
||
|
if: "env.GIT_DIFF != ''"
|
||
|
- name: check-breakage
|
||
|
run: make proto-check-breaking-docker
|
||
|
if: "env.GIT_DIFF != ''"
|