From a4efd33488a4985f1ba3646de5f30c42726cba5e Mon Sep 17 00:00:00 2001 From: Marko Baricevic Date: Fri, 27 Mar 2020 15:46:24 +0100 Subject: [PATCH] move proto to github actions --- .circleci/config.yml | 8 -------- .github/workflows/proto.yml | 12 ++++++++++++ 2 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/proto.yml diff --git a/.circleci/config.yml b/.circleci/config.yml index 72223908da..6a1cce30bc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/.github/workflows/proto.yml b/.github/workflows/proto.yml new file mode 100644 index 0000000000..20615373f7 --- /dev/null +++ b/.github/workflows/proto.yml @@ -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