Skip to content

Commit

Permalink
use centrifugo org on buf
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Jul 18, 2024
1 parent 5b5e2ef commit 4a41b85
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
with:
go-version: ${{ matrix.go-version }}

- uses: bufbuild/buf-setup-action@v1
with:
version: "1.34.0"

- name: Checkout code
uses: actions/checkout@v4

Expand Down Expand Up @@ -55,3 +59,7 @@ jobs:
env:
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
run: misc/scripts/release_packagecloud.sh

- uses: bufbuild/buf-push-action@v1
with:
buf_token: ${{ secrets.BUF_TOKEN }}
4 changes: 2 additions & 2 deletions buf.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
version: v2
modules:
- path: internal/apiproto
name: buf.build/centrifugal/apiproto
name: buf.build/centrifugo/apiproto
excludes:
- internal/apiproto/swagger
- path: internal/unigrpc/unistream
name: buf.build/centrifugal/unistream
name: buf.build/centrifugo/unistream
lint:
use:
- DEFAULT
Expand Down
3 changes: 0 additions & 3 deletions internal/apiproto/swagger/api.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@
{
"name": "push notification"
},
{
"name": "rate limiting"
},
{
"name": "batch"
}
Expand Down
3 changes: 0 additions & 3 deletions internal/apiproto/swagger/api.swagger.proto
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
{
name: "push notification"
},
{
name: "rate limiting"
},
{
name: "batch"
}
Expand Down

0 comments on commit 4a41b85

Please sign in to comment.