Skip to content

Commit

Permalink
Merge branch 'main' into segment-anding
Browse files Browse the repository at this point in the history
  • Loading branch information
yquansah authored Aug 11, 2023
2 parents 78b4995 + d38a357 commit b4b00cc
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 23 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/proto-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Proto Push
on:
push:
tags:
- "v*"

jobs:
proto-push:
name: "Push Protos"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: bufbuild/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- uses: bufbuild/buf-lint-action@v1
with:
input: "rpc/flipt"

- uses: bufbuild/buf-breaking-action@v1
with:
input: "rpc/flipt"
against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=main"

- uses: bufbuild/buf-push-action@v1
with:
input: "rpc/flipt"
buf_token: ${{ secrets.BUF_TOKEN }}
10 changes: 4 additions & 6 deletions .github/workflows/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@ on:

jobs:
proto-lint:
name: "Lint Proto"
name: "Lint Protos"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: bufbuild/buf-setup-action@v1.7.0
- uses: bufbuild/buf-setup-action@v1.26.0
with:
version: "latest"
github_token: ${{ secrets.GITHUB_TOKEN }}

- uses: bufbuild/buf-lint-action@v1
Expand All @@ -33,7 +32,7 @@ jobs:
against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=main"

proto-check:
name: "Proto Check"
name: "Check Generated Code"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -44,9 +43,8 @@ jobs:
check-latest: true
cache: true

- uses: bufbuild/buf-setup-action@v1.7.0
- uses: bufbuild/buf-setup-action@v1.26.0
with:
version: "latest"
github_token: ${{ secrets.GITHUB_TOKEN }}

- uses: magefile/mage-action@v2
Expand Down
14 changes: 0 additions & 14 deletions buf.public.gen.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions rpc/flipt/buf.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ deps:
- remote: buf.build
owner: googleapis
repository: googleapis
commit: 75b4300737fb4efca0831636be94e517
commit: 711e289f6a384c4caeebaff7c6931ade
- remote: buf.build
owner: grpc-ecosystem
repository: grpc-gateway
commit: a1ecdc58eccd49aa8bea2a7a9022dc27
commit: fed2dcdcfd694403ad51cd3c94957830
2 changes: 1 addition & 1 deletion rpc/flipt/buf.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: v1
name: buf.build/markphelps/flipt
name: buf.build/flipt-io/flipt
deps:
- buf.build/googleapis/googleapis
- buf.build/grpc-ecosystem/grpc-gateway
Expand Down

0 comments on commit b4b00cc

Please sign in to comment.