move proto to github actions

This commit is contained in:
Marko Baricevic
2020-03-27 15:46:24 +01:00
parent bb0922d564
commit a4efd33488
2 changed files with 12 additions and 8 deletions
+12
View File
@@ -0,0 +1,12 @@
name: Proto check
on: [pull_request]
jobs:
proto-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: docker-practice/actions-setup-docker@master
- name: lint
run: docker run -v $(shell pwd):/workspace --workdir /workspace bufbuild/buf check lint --error-format=json
- name: check-breakage
run: docker run -v $(shell pwd):/workspace --workdir /workspace bufbuild/buf --against-input .git#branch=master