Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use v2 config of buf #188

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
branches: ["*"]
env:
GRPC_VERSION: "1.62"
BUF_VERSION: "1.30.0"
jobs:
pytest:
name: "Unit and Integration Tests"
Expand Down
15 changes: 8 additions & 7 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
#!/usr/bin/env -S buf generate buf.build/authzed/api:v1.35.0 --template
#!/usr/bin/env -S buf generate
---
version: "v1"
version: "v2"
inputs:
- module: "buf.build/authzed/api:v1.35.0"
plugins:
- name: "python"
- local: "protoc-gen-grpc"
out: "."
- name: "grpc-python"
- local: "protoc-gen-grpc_python_plugin"
out: "."
path: "grpc_python_plugin"
- name: "mypy"
- local: "protoc-gen-mypy"
out: "."
- name: "mypy_grpc"
- local: "protoc-gen-mypy_grpc"
out: "."
Loading