proto/lint: Add protobuf GitHub action and linter (#943)

* Buf upgrades

* Buf format and basic endpoint fixes

* gRPC linter fixes

* Amend buf.yaml linter exceptions

* Update README

* Freshly generated gRPC code after depends update

* Nitterinos
This commit is contained in:
Adrian Gallagher
2022-05-10 15:38:50 +10:00
committed by GitHub
parent 5266437b27
commit 61212fb8ea
19 changed files with 7206 additions and 6853 deletions

View File

@@ -1,5 +1,17 @@
version: v1beta1
version: v1
name: buf.build/gocryptotrader/grpc
lint:
use:
- DEFAULT
except:
- RPC_REQUEST_RESPONSE_UNIQUE
- PACKAGE_DIRECTORY_MATCH
- PACKAGE_VERSION_SUFFIX
- RPC_RESPONSE_STANDARD_NAME
- RPC_REQUEST_STANDARD_NAME
breaking:
use:
- FILE
deps:
- buf.build/beta/googleapis
- buf.build/googleapis/googleapis
- buf.build/grpc-ecosystem/grpc-gateway