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

fix: gogo-try-3 #11766

Closed
wants to merge 130 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
2083bc8
feat: get keyring backend (#11484)
fedekunze Mar 29, 2022
a7e68bf
chore: remove votes sum invariant (#11483)
atheeshp Mar 29, 2022
4e92b62
docs: Update MultiSend ref to bank/spec/README.md (#11490)
puneet2019 Mar 29, 2022
e75c734
refactor(x/auth/middleware)!: tx middleware to support pluggable feem…
yihuang Mar 29, 2022
67d9da4
build(deps): Bump bufbuild/buf-setup-action from 1.2.1 to 1.3.0 (#11479)
dependabot[bot] Mar 29, 2022
40a5364
refactor(auth): better error message for method handler panic (#11482)
technicallyty Mar 29, 2022
e3c3467
chore: use canonical name for dockerfile (#11485)
robert-zaremba Mar 29, 2022
74432f4
docs: Fix the broken links in the documents (#11477)
Mar 30, 2022
90f6187
chore: Add mergify backport to v0.46.x (#11501)
amaury1093 Mar 30, 2022
4159d1a
docs: x/gov state machine inline comments changes (#11498)
likhita-809 Mar 31, 2022
d5d8738
build(deps): Bump github.com/prometheus/common from 0.32.1 to 0.33.0 …
dependabot[bot] Mar 31, 2022
a4d46ff
fix: Improve gentx validation & error messages (#11500)
anilcse Mar 31, 2022
8591cce
feat: api server flags to start command (#11511)
akhilkumarpilli Apr 1, 2022
44a1293
feat(orm): allow bytes keys longer than 255 bytes (#11522)
aaronc Apr 1, 2022
8c65b79
docs: added middleware documentation (#9954) (#11445)
JeancarloBarrios Apr 3, 2022
9f543b1
refactor: Small clarifications to authz docs and one error descriptio…
ivan-gavran Apr 3, 2022
8baa7ac
build(deps): Bump bufbuild/buf-setup-action from 1.3.0 to 1.3.1 (#11518)
dependabot[bot] Apr 4, 2022
6538582
build(deps): Bump github.com/cosmos/cosmos-sdk/api from 0.1.0-alpha5 …
dependabot[bot] Apr 4, 2022
082722f
add proto since: comments for #11457 updates to reward withdrawal res…
Apr 4, 2022
23f48a6
build(deps): Bump github.com/cosmos/cosmos-sdk/api from 0.1.0-alpha5 …
dependabot[bot] Apr 4, 2022
e347a54
build(deps): Bump github.com/coinbase/rosetta-sdk-go from 0.7.2 to 0.…
dependabot[bot] Apr 4, 2022
93ab31d
fix(cli): Group SubmitProposal CLI not working properly (#11521)
julienrbrt Apr 4, 2022
9f6f9f5
fix: panic in `authz` (#11512)
atheeshp Apr 4, 2022
cf7fd56
docs: Add transaction tips documentation (#11426)
amaury1093 Apr 4, 2022
8b32094
test: verify logic for proposer reward (#11517)
julienrbrt Apr 4, 2022
2822f71
ci: Add GitHub Actions for documentation deployment (#11540)
julienrbrt Apr 4, 2022
6f79bf3
chore: (x/authz) add test case for same `grantee` `granter` (#11509)
atheeshp Apr 5, 2022
dc66ddd
feat: EIP191 sign mode (#11533)
fedekunze Apr 5, 2022
6fa9252
docs: fixes the documentation build (#11542)
julienrbrt Apr 5, 2022
5bde368
feat: Cancel unbonding delegation entry (#10885)
gsk967 Apr 5, 2022
37a52af
ci: fix gh docs action (#11547)
julienrbrt Apr 5, 2022
210e109
chore: x/gov v1 API audit changes (#11474)
likhita-809 Apr 5, 2022
59733b2
chore: improve code cov (#11502)
atheeshp Apr 5, 2022
6727d11
build(deps): Bump codecov/codecov-action from 2.1.0 to 3 (#11549)
dependabot[bot] Apr 5, 2022
4ca61c1
build(deps): Bump github.com/cosmos/cosmos-sdk in /cosmovisor (#11553)
dependabot[bot] Apr 5, 2022
b9f5283
feat: add tm inspect cmd (#11548)
alexanderbez Apr 5, 2022
1486a66
fix(orm): add additional checks on invalid tables (#11387)
aaronc Apr 5, 2022
f133317
build(deps): Bump github.com/coinbase/rosetta-sdk-go from 0.7.6 to 0.…
dependabot[bot] Apr 6, 2022
e52556b
refactor(group): API naming audit (#11515)
amaury1093 Apr 6, 2022
8800d2e
refactor: Set defaults in middlewares instead of `NewDefaultTxHandler…
amaury1093 Apr 6, 2022
feb9d93
docs(staking): add `cancel-unbond` delegations spec (#11473)
gsk967 Apr 7, 2022
fdd3d07
chore: remove migrations 0.42 and below (#11556)
tac0turtle Apr 7, 2022
5b02bf4
feat: `ScheduleUpgradeNoHeightValidation` for automated upgrades w/o …
fedekunze Apr 7, 2022
faefd08
feat: bump cosmos-sdk dep in cosmovisor (#11570)
robert-zaremba Apr 7, 2022
6073395
docs: Update module.proto (#11572)
aaronc Apr 7, 2022
47d7477
fix: genesis typo in error message (#11576)
williamchong Apr 8, 2022
eb607ae
chore: x/gov v1 Completeness audit (#11567)
blushi Apr 8, 2022
b571949
ci: add dependencies review github action (#11575)
julienrbrt Apr 8, 2022
566a91c
docs: add nft spec and event (#11526)
Apr 8, 2022
fd97fa8
docs: update groups spec & cli instructions (#11516)
nooomski Apr 8, 2022
5cbdad3
perf(orm): add benchmarks (#11525)
aaronc Apr 8, 2022
ce0361d
fix: address confusing error message with SetOrder* functions (#11571)
Dominator008 Apr 8, 2022
378bcaa
build(deps): Bump actions/stale from 4 to 5 (#11586)
dependabot[bot] Apr 8, 2022
d80c64c
build(deps): Bump actions/download-artifact from 2 to 3 (#11585)
dependabot[bot] Apr 8, 2022
83f5ecf
build(deps): Bump actions/upload-artifact from 2 to 3 (#11584)
dependabot[bot] Apr 8, 2022
398583a
fix: fix the cli test for cancel unbond (#11579)
gsk967 Apr 9, 2022
b518c84
clean up unused methods in distribution expected keepers (#11588)
jtremback Apr 9, 2022
56b0e83
fix: commitStores deterministic ordering (#11592)
alexanderbez Apr 11, 2022
4f1cc3a
fix: ` --dry-run` not working when using tx command (#11558)
julienrbrt Apr 11, 2022
ea8b0f7
build(deps): Bump github.com/tendermint/tendermint from 0.35.2 to 0.3…
dependabot[bot] Apr 12, 2022
06c5d2b
docs: update mentions of starport to ignite cli (#11612)
nooomski Apr 12, 2022
b8270fc
feat: add (re)delegation getters (#11596)
danburck Apr 12, 2022
495631d
docs: Add v0.45.x to docs versions (#11613)
glnro Apr 12, 2022
fd14ff4
typo fix (#11619)
ValarDragon Apr 12, 2022
a1aefd0
docs: versions should have only one new line (#11620)
julienrbrt Apr 12, 2022
fed09c5
build(deps): Bump github.com/regen-network/gocuke from 0.6.1 to 0.6.2…
dependabot[bot] Apr 13, 2022
1fe59eb
ci: improve error checking (errcheck linter) (#11195)
julienrbrt Apr 13, 2022
dd2b9e1
fix: prune Withdrawn and Aborted group proposals (#11560)
likhita-809 Apr 13, 2022
1ebe76c
refactor: cosmovisor name normalization & comparison (#11608)
alexanderbez Apr 13, 2022
1852402
build(deps): Bump github.com/spf13/viper from 1.10.1 to 1.11.0 (#11635)
dependabot[bot] Apr 14, 2022
958d63b
chore: tips cli audit changes (#11632)
atheeshp Apr 14, 2022
91fae32
build(deps): Bump amannn/action-semantic-pull-request (#11634)
dependabot[bot] Apr 14, 2022
0dbf7dc
chore: Tx Tips API audit (#11641)
blushi Apr 14, 2022
ce44b35
feat: add store name in `tracekv`-emitted store traces (#11646)
gsora Apr 14, 2022
6ff6dce
fix: Add SafeSub for sdk.Coin (#11630)
NagaTulasi Apr 14, 2022
ec1c423
docs: Groups spec cleanups (#11631)
amaury1093 Apr 15, 2022
9898ac5
fix: Make module queries deterministic (#11644)
amaury1093 Apr 15, 2022
53a6f19
chore(group): State machine audit (#11559)
amaury1093 Apr 15, 2022
11a9da1
chore: revert `keys add` ui change (#11648)
julienrbrt Apr 15, 2022
d1f9e51
build(deps): Bump github.com/coinbase/rosetta-sdk-go from 0.7.7 to 0.…
dependabot[bot] Apr 15, 2022
bcdc79b
build(deps): Bump async from 2.6.3 to 2.6.4 in /docs (#11653)
dependabot[bot] Apr 15, 2022
0a3da0d
test: verify commitStores deterministic ordering (#11650)
julienrbrt Apr 15, 2022
1fe72cc
chore: ignore artefact if not present (#11661)
tac0turtle Apr 17, 2022
682b3f5
remove git_diff check (#11660)
tac0turtle Apr 17, 2022
c676952
feat: add vesting util functions (#11652)
fedekunze Apr 17, 2022
75d4e41
fix: proto script #11669
tac0turtle Apr 18, 2022
c53157d
build(deps): Bump github.com/tendermint/tendermint from 0.35.3 to 0.3…
dependabot[bot] Apr 18, 2022
c634dbf
fix(group): Allow group total weight to be 0 (#11682)
amaury1093 Apr 19, 2022
71e6138
docs: Clarifying the specification of votes. (#11638)
joeabbey Apr 19, 2022
9bed633
chore: Upgrade the Cosmos-SDK to Go 1.18 (#11663)
faddat Apr 19, 2022
2af642e
refactor: register x/authz module specific errors (#11670)
julienrbrt Apr 19, 2022
610b2ee
revert: replace all ModuleCdc instances with legacy.Cdc (#11680)
RiccardoM Apr 20, 2022
40c9de8
docs: update authz docs (#11671)
atheeshp Apr 20, 2022
ddc23bc
refactor!: Coins Add and Sub Consistency (#11689)
alexanderbez Apr 20, 2022
1042373
chore: add more tests for code cov in `middleware` (#11694)
atheeshp Apr 20, 2022
df61142
fix: Add validation on create gentx (#11693)
anilcse Apr 20, 2022
1a9654f
refactor: rename `GenTx` to `GenSignedMockTx` to avoid confusion with…
anilcse Apr 20, 2022
f714aa8
fix: make (#11708)
julienrbrt Apr 20, 2022
ec3644f
build(deps): Bump github.com/prometheus/common from 0.33.0 to 0.34.0 …
dependabot[bot] Apr 20, 2022
2f6a3e6
fix: pin go version Dockerfiles (#11711)
alexanderbez Apr 20, 2022
2c94c2e
fix(cli): home flag gets ignored when running help (#11645)
julienrbrt Apr 21, 2022
c01b825
fix(tests): fix simulations on cancel unbond (#11712)
gsk967 Apr 21, 2022
f421b95
tests: fix TestNewAnyWithCustomTypeURLWithErrorNoAllocation failure (…
julienrbrt Apr 21, 2022
d6b3fa5
fix(errors): add wrapped errors messages in grpcstatus (#11714)
julienrbrt Apr 21, 2022
d5e0b86
fix: Added description of how to run the unsafe-reset-all command in …
takapi327 Apr 21, 2022
8bb0b4e
build(deps): Bump github.com/cosmos/cosmos-sdk/errors in /orm (#11722)
dependabot[bot] Apr 21, 2022
79031f2
build(deps): Bump github.com/cosmos/cosmos-sdk/errors (#11721)
dependabot[bot] Apr 21, 2022
44c9180
docs: update changelog with minors changes from 0.45 and 0.44 #11723
julienrbrt Apr 21, 2022
d4dd444
chore: (x/authz) add helpers `AppendBytes`, `ParseByteSlice` (#11713)
atheeshp Apr 21, 2022
42f8d45
refactor!: abstractions for snapshot and pruning; snapshot intervals …
p0mvn Apr 21, 2022
4d462e1
build(deps): Bump bufbuild/buf-setup-action from 1.3.1 to 1.4.0 (#11729)
dependabot[bot] Apr 22, 2022
bb37e72
fix: dockerfile for building proto (#11452) (#11703)
robert-zaremba Apr 22, 2022
6f07062
build(deps): Bump amannn/action-semantic-pull-request (#11733)
dependabot[bot] Apr 22, 2022
2e15b54
chore: master -> main (#11730)
alexanderbez Apr 24, 2022
9f44d50
docs: fix minor typo and broken link (#11740)
foxytanuki Apr 24, 2022
a8b3602
docs: improve godoc WrapServiceResult (#11736)
julienrbrt Apr 24, 2022
dc98d7b
fix: Use fixed length hex for pointer at FwdCapabilityKey (#11737)
facundomedica Apr 25, 2022
97d735f
fix: data race issues with api.Server (#11724)
prettymuchbryce Apr 25, 2022
ee0161c
docs: fix tendermint links (#11742)
foxytanuki Apr 25, 2022
20a24c4
chore: trigger new tendermintdev/sdk-proto-gen tag (#11743)
robert-zaremba Apr 25, 2022
8820009
test: fix cosmovisor autod.zip (#11744)
julienrbrt Apr 25, 2022
6e95e11
fix(group): Better error logs for MsgExec (#11746)
amaury1093 Apr 25, 2022
67735ef
build(deps): Bump JamesIves/github-pages-deploy-action (#11755)
dependabot[bot] Apr 25, 2022
933eb4c
build(deps): Bump github/codeql-action from 1 to 2 (#11754)
dependabot[bot] Apr 25, 2022
ea9a839
Open chore: update dependabot.yml #11757
alexanderbez Apr 25, 2022
62dc638
chore: update gorleaser job #11753
alexanderbez Apr 25, 2022
2d059ae
build(deps): Bump google.golang.org/grpc from 1.45.0 to 1.46.0 in /or…
dependabot[bot] Apr 25, 2022
4486576
Merge branch 'main' into robert/gogo
faddat Apr 25, 2022
92d5123
fun with protobufs
faddat Apr 25, 2022
bcc5cb8
update protobufs
faddat Apr 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/module-readiness-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ This checklist is to be used for tracking the final internal audit of new Cosmos

### Release Candidate Checklist

The following checklist should be gone through once the module has been fully implemented. This audit should be performed directly on `master`, or preferably on a `alpha` or `beta` release tag that includes the module.
The following checklist should be gone through once the module has been fully implemented. This audit should be performed directly on `main`, or preferably on a `alpha` or `beta` release tag that includes the module.

The module **should not** be included in any Release Candidate tag until it has passed this checklist.

- [ ] API audit (at least 1 person) (@assignee)
- [ ] Are Msg and Query methods and types well-named and organized?
- [ ] Is everything well documented (inline godoc as well as [`/spec/` folder](https://github.com/cosmos/cosmos-sdk/blob/master/docs/spec/SPEC-SPEC.md) in module directory)
- [ ] Is everything well documented (inline godoc as well as [`/spec/` folder](https://github.com/cosmos/cosmos-sdk/blob/main/docs/spec/SPEC-SPEC.md) in module directory)
- [ ] State machine audit (at least 2 people) (@assignee1, @assignee2)
- [ ] Read through MsgServer code and verify correctness upon visual inspection
- [ ] Ensure all state machine code which could be confusing is properly commented
Expand Down
8 changes: 4 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting))
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#testing)
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
Expand All @@ -47,4 +47,4 @@ I have...
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
- [ ] manually tested (if applicable)
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ please add links to any relevant follow up issues.*
I have...

- [ ] included the correct `docs:` prefix in the PR title
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting))
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the [documentation writing guidelines](https://github.com/cosmos/cosmos-sdk/blob/master/docs/DOC_WRITING_GUIDELINES.md)
- [ ] followed the [documentation writing guidelines](https://github.com/cosmos/cosmos-sdk/blob/main/docs/DOC_WRITING_GUIDELINES.md)
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

Expand Down
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE/other.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ please add links to any relevant follow up issues.*
I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting))
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed
Expand All @@ -29,4 +29,4 @@ I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed all author checklist items have been addressed
- [ ] confirmed that this PR does not change production code
- [ ] confirmed that this PR does not change production code
12 changes: 6 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,45 +18,45 @@ updates:
interval: daily
open-pull-requests-limit: 10
labels:
- automerge
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/db"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- automerge
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/api"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- automerge
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/orm"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- automerge
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/container"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- automerge
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/cosmovisor"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- automerge
- "A:automerge"
- dependencies
2 changes: 2 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
- x/genutil/**/*
"C:x/gov":
- x/gov/**/*
"C:x/group":
- x/group/**/*
"C:x/mint":
- x/mint/**/*
"C:x/nft":
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/atlas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Atlas
on:
push:
branches:
- master
- main
paths:
- "x/**/atlas/*"
pull_request:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: 'go'
queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality
Expand All @@ -34,7 +34,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -48,4 +48,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
2 changes: 1 addition & 1 deletion .github/workflows/cosmovisor-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18
# get 'v*.*.*' part from 'cosmovisor/v*.*.*' and save to $GITHUB_ENV
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/cosmovisor/}" >> $GITHUB_ENV
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/dependencies-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Dependency Review"
on: [pull_request]

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v3
- name: "Dependency Review"
uses: actions/dependency-review-action@v1
33 changes: 33 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy docs
# This job builds and deploys documenation to github pages.
# It runs on every push to main with a change in the docs folder.
on:
push:
branches:
- main
paths:
- "docs/**"

jobs:
build-and-deploy:
runs-on: ubuntu-latest
container:
image: tendermintdev/docker-website-deployment
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0

- name: Install and Build 🔧
run: |
apk add rsync
make build-docs LEDGER_ENABLED=false

- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ~/output
single-commit: true
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Build & Push
# Build & Push builds the simapp docker image on every push to master and
# Build & Push builds the simapp docker image on every push to main and
# and pushes the image to https://hub.docker.com/r/interchainio/simapp/tags
on:
push:
branches:
- master
- main
tags:
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10
- "v[0-9]+.[0-9]+.[0-9]+-rc*" # Push events to matching v*, i.e. v1.0-rc1, v20.15.10-rc5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v4.2.0
- uses: amannn/action-semantic-pull-request@v4.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: Lint
# Lint runs golangci-lint over the entire cosmos-sdk repository
# This workflow is run on every pull request and push to master
# This workflow is run on every pull request and push to main
# The `golangci` will pass without running if no *.{go, mod, sum} files have been changed.
on:
pull_request:
push:
branches:
- master
- main
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18
- uses: technote-space/[email protected]
id: git_diff
with:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/proto-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ name: Build & Push SDK Proto Builder
on:
push:
branches:
- master
- main
paths:
- "contrib/devtools/dockerfile"

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
# set VERSION to new version when making changes, when merged to master the image will automatically be pushed
# set VERSION to new version when making changes, when merged to main the image will automatically be pushed
- uses: actions/checkout@v3
- name: Prepare
id: prep
run: |
DOCKER_IMAGE=tendermintdev/sdk-proto-gen
VERSION=v0.6
VERSION=latest
TAGS="${DOCKER_IMAGE}:${VERSION}"
echo ::set-output name=tags::${TAGS}

Expand All @@ -41,7 +41,6 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ./contrib/devtools
file: ./contrib/devtools/dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.prep.outputs.tags }}
9 changes: 4 additions & 5 deletions .github/workflows/proto-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,17 @@ name: Buf-Push
on:
push:
branches:
- master
- main
paths:
- 'proto/**'
- "proto/**"

jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1.2.1
- uses: bufbuild/buf-setup-action@v1.4.0
- uses: bufbuild/buf-push-action@v1
with:
input: 'proto'
input: "proto"
buf_token: ${{ secrets.BUF_TOKEN }}

14 changes: 7 additions & 7 deletions .github/workflows/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ name: Protobuf
on:
pull_request:
paths:
- 'proto/**'
- "proto/**"
push:
branches:
- master
- main
paths:
- 'proto/**'
- "proto/**"

jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1.2.1
- uses: bufbuild/buf-setup-action@v1.4.0
- uses: bufbuild/buf-lint-action@v1
with:
input: 'proto'
Expand All @@ -26,8 +26,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1.2.1
- uses: bufbuild/buf-setup-action@v1.4.0
- uses: bufbuild/buf-breaking-action@v1
with:
input: 'proto'
against: 'https://github.com/${{ github.repository }}.git#branch=${{ github.event.pull_request.base.ref }},ref=HEAD~1,subdir=proto'
input: "proto"
against: "https://github.com/${{ github.repository }}.git#branch=${{ github.event.pull_request.base.ref }},ref=HEAD~1,subdir=proto"
4 changes: 2 additions & 2 deletions .github/workflows/tag.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18
- name: Unshallow
run: git fetch --prune --unshallow
- name: Create release
uses: goreleaser/[email protected]
with:
args: release --rm-dist --release-notes ./RELEASE_CHANGELOG.md
args: release --rm-dist --release-notes ./RELEASE_NOTES.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading