move proto to github actions

This commit is contained in:
Marko Baricevic 2020-03-27 15:46:24 +01:00
parent bb0922d564
commit a4efd33488
No known key found for this signature in database
GPG Key ID: 1C1A5B44A0E4674D
2 changed files with 12 additions and 8 deletions

View File

@ -76,13 +76,6 @@ jobs:
key: go-src-v1-{{ .Revision }}
paths:
- ".git"
proto:
executor: protoc
steps:
- checkout
- run:
name: proto check
command: make proto-lint && make proto-check-breaking
test-sim-multi-seed-long:
executor: golang
@ -166,7 +159,6 @@ workflows:
tags:
only:
- /^v.*/
- proto
- test-sim-multi-seed-long:
requires:
- setup-dependencies

12
.github/workflows/proto.yml vendored Normal file
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