Skip to content

Commit

Permalink
migrate to v2 config to support PACKAGE_VERSION_SUFFIX ignore
Browse files Browse the repository at this point in the history
so we can skip that from the new Materialize API
  • Loading branch information
vroldanbet committed Jun 5, 2024
1 parent d565bad commit 86e8741
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: "actions/checkout@v3"
- uses: "authzed/actions/yaml-lint@main"
- uses: "bufbuild/buf-setup-action@v1.30.0"
- uses: "bufbuild/buf-setup-action@v1.32.2"
with:
version: "1.30.0"
- uses: "bufbuild/buf-lint-action@v1"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "bufbuild/buf-setup-action@v1"
- uses: "bufbuild/buf-setup-action@v1.32.2"
with:
version: "1.30.0"
- name: "push release name to BSR"
Expand Down
17 changes: 7 additions & 10 deletions buf.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions buf.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
---
version: "v1"
version: "v2"
name: "buf.build/authzed/api"
deps:
- "buf.build/envoyproxy/protoc-gen-validate"
- "buf.build/googleapis/googleapis"
- "buf.build/grpc-ecosystem/grpc-gateway"
lint:
except:
- "PACKAGE_VERSION_SUFFIX"
ignore:
- "authzed/api/v0" # legacy from before we used buf
- "authzed/api/v0"
disallow_comment_ignores: true
breaking:
use:
- "WIRE_JSON"

0 comments on commit 86e8741

Please sign in to comment.