Bump google.golang.org/protobuf from 1.28.1 to 1.33.0 (#24) #82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "1.18" | |
- uses: arduino/setup-protoc@v1 | |
with: | |
version: "3.x" | |
- name: Run go test | |
run: go test -v ./... | |
- name: Install protoc-gen-pubsub-schema | |
run: go install | |
- name: Run examples | |
run: protoc example/article_commented.proto --pubsub-schema_out=. | |
- name: Verify examples are working | |
run: if [ -n "$(git status --porcelain)" ]; then git status; exit 1; fi |