-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
chore: use buf ci #11071
Merged
Merged
chore: use buf ci #11071
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
1177671
use buf ci
tac0turtle 1da7f78
check breakage against target branch
tac0turtle 709242e
test proto
tac0turtle 81872a5
fix repo
tac0turtle a28d909
setinput
tac0turtle 7e2beef
undo proto change
tac0turtle 79bdd83
minor change
tac0turtle ce2df50
Merge branch 'master' into 11044-proto-ci
tac0turtle bf6e459
Merge branch 'master' into 11044-proto-ci
tac0turtle 15ad8c7
test without subdir
tac0turtle f0b7836
addback subdir
tac0turtle eca0aca
try without input
tac0turtle 26aee3a
Merge branch 'master' into 11044-proto-ci
tac0turtle 62d06a0
proto change
tac0turtle 999ce7b
fix ci
tac0turtle ea30b95
remove head
tac0turtle bd50407
add proto
tac0turtle 6c91fc7
add back
tac0turtle 33ab39f
add .git
tac0turtle 4b414e6
test
tac0turtle 438ebdd
test++
tac0turtle d81078e
test+++
tac0turtle 6e45245
something
tac0turtle c10b142
something
tac0turtle d0f51bb
something++
tac0turtle d0a5a85
test
tac0turtle 481ee3c
test
tac0turtle 2271633
do different design
tac0turtle aefbac8
revert proto change
tac0turtle cb20ad9
docs
tac0turtle 3e02cdc
revert comment
tac0turtle 5bd988c
Merge branch 'master' into 11044-proto-ci
tac0turtle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Buf-Push | ||
# Protobuf runs buf (https://buf.build/) push updated proto files to https://buf.build/cosmos/cosmos-sdk | ||
# This workflow is only run when a .proto file has been changed | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- 'proto/**' | ||
|
||
jobs: | ||
push: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: bufbuild/[email protected] | ||
- uses: bufbuild/buf-push-action@v1 | ||
with: | ||
input: 'proto' | ||
buf_token: ${{ secrets.BUF_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,28 +3,31 @@ name: Protobuf | |
# This workflow is only run when a .proto file has been changed | ||
on: | ||
pull_request: | ||
paths: | ||
- 'proto/**' | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- 'proto/**' | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
**/**.proto | ||
- name: lint | ||
run: make proto-lint | ||
if: env.GIT_DIFF | ||
breakage: | ||
- uses: actions/checkout@v2 | ||
- uses: bufbuild/[email protected] | ||
- uses: bufbuild/buf-lint-action@v1 | ||
with: | ||
input: 'proto' | ||
|
||
break-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: technote-space/[email protected] | ||
- uses: actions/checkout@v2 | ||
- uses: bufbuild/[email protected] | ||
- uses: bufbuild/buf-breaking-action@v1 | ||
with: | ||
PATTERNS: | | ||
**/**.proto | ||
- name: check-breakage | ||
run: make proto-check-breaking | ||
if: env.GIT_DIFF | ||
input: 'proto' | ||
against: 'https://github.com/${{ github.repository }}.git#branch=${{ github.event.pull_request.base.ref }},ref=HEAD~1,subdir=proto' |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if this needs to run on master?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't hurt