From b3a4115da9c6c010c4ea5e1d3944c92333c485e6 Mon Sep 17 00:00:00 2001 From: Mark Scannell Date: Wed, 16 Dec 2020 16:35:57 +0000 Subject: [PATCH] Updated for proto3 sample --- .github/workflows/go.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c05a459..d541e69 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -41,7 +41,9 @@ jobs: - name: Build code run: go build - name: Run examples - run: protoc --plugin=./protoc-gen-bq-schema --bq-schema_out=examples examples/foo.proto + run: | + protoc -I. -Iexamples --plugin=./protoc-gen-bq-schema --bq-schema_out=examples examples/foo.proto + protoc -I. -Iexamples --plugin=./protoc-gen-bq-schema --bq-schema_out=examples examples/foo-proto3.proto - name: Verify examples are working run: | if [ -n "$(git status --porcelain)" ]; then