-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into evan/msg-inclusion-api
- Loading branch information
Showing
49 changed files
with
652 additions
and
922 deletions.
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
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 |
---|---|---|
@@ -1,17 +1,33 @@ | ||
pull_request_rules: | ||
- name: backport patches to v0.5.x branch | ||
- name: backport patches to v0.6.x branch | ||
conditions: | ||
- base=master | ||
- label=S:backport-to-v0.5.x | ||
- base=main | ||
- label=S:backport-to-v0.6.x | ||
actions: | ||
backport: | ||
branches: | ||
- v0.5.x | ||
- name: backport patches to v0.6.x branch | ||
- v0.6.x | ||
- name: backport patches to v0.7.x branch | ||
conditions: | ||
- base=master | ||
- label=S:backport-to-v0.6.x | ||
- base=main | ||
- label=S:backport-to-v0.7.x | ||
actions: | ||
backport: | ||
branches: | ||
- v0.6.x | ||
- v0.7.x | ||
- name: backport patches to v0.8.x branch | ||
conditions: | ||
- base=main | ||
- label=S:backport-to-v0.8.x | ||
actions: | ||
backport: | ||
branches: | ||
- v0.8.x | ||
- name: backport patches to v0.9.x branch | ||
conditions: | ||
- base=main | ||
- label=S:backport-to-v0.9.x | ||
actions: | ||
backport: | ||
branches: | ||
- v0.9.x |
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
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 |
---|---|---|
@@ -1,21 +1,21 @@ | ||
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 | ||
timeout-minutes: 8 | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17.1 | ||
with: | ||
go-version: 1.18 | ||
- uses: actions/checkout@v3 | ||
- uses: technote-space/[email protected] | ||
with: | ||
|
@@ -25,9 +25,7 @@ jobs: | |
go.sum | ||
- uses: golangci/[email protected] | ||
with: | ||
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. | ||
version: v1.42.1 | ||
version: v1.47.2 | ||
args: --timeout 10m | ||
github-token: ${{ secrets.github_token }} | ||
skip-go-installation: true | ||
if: env.GIT_DIFF |
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,22 @@ | ||
name: Markdown Lint | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
markdown-lint: | ||
name: Markdown Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
- run: | | ||
npm install -g [email protected] | ||
markdownlint --config .markdownlint.yaml **/*.md |
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
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 |
---|---|---|
|
@@ -30,7 +30,7 @@ jobs: | |
- name: install runsim | ||
run: | | ||
export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/[email protected] | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].5 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
@@ -40,7 +40,7 @@ jobs: | |
needs: [build, install-runsim] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].5 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
pull_request: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
|
||
jobs: | ||
cleanup-runs: | ||
|
@@ -23,7 +23,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
- name: Display go version | ||
run: go version | ||
- run: make build | ||
|
@@ -34,12 +34,12 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
- name: Display go version | ||
run: go version | ||
- name: Install runsim | ||
run: export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/[email protected] | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].5 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
@@ -51,7 +51,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/[email protected] | ||
|
@@ -60,7 +60,7 @@ jobs: | |
**/**.go | ||
go.mod | ||
go.sum | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].5 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
@@ -77,7 +77,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/[email protected] | ||
|
@@ -88,7 +88,7 @@ jobs: | |
go.sum | ||
SET_ENV_NAME_INSERTIONS: 1 | ||
SET_ENV_NAME_LINES: 1 | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].5 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
@@ -105,7 +105,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/[email protected] | ||
|
@@ -116,7 +116,7 @@ jobs: | |
go.sum | ||
SET_ENV_NAME_INSERTIONS: 1 | ||
SET_ENV_NAME_LINES: 1 | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].5 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
@@ -133,7 +133,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/[email protected] | ||
|
@@ -144,7 +144,7 @@ jobs: | |
go.sum | ||
SET_ENV_NAME_INSERTIONS: 1 | ||
SET_ENV_NAME_LINES: 1 | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].5 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
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
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
name: Tests / Code Coverage | ||
# Tests / Code Coverage workflow runs unit tests and uploads a code coverage report | ||
# This workflow is run on pushes to master & every Pull Requests where a .go, .mod, .sum have been changed | ||
# This workflow is run on pushes to main & every Pull Requests where a .go, .mod, .sum have been changed | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
jobs: | ||
cleanup-runs: | ||
runs-on: ubuntu-latest | ||
|
@@ -20,13 +20,13 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
- name: Display go version | ||
run: go version | ||
- name: install tparse | ||
run: | | ||
export GO111MODULE="on" && go install github.com/mfridman/[email protected] | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].5 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-tparse-binary | ||
|
@@ -38,7 +38,7 @@ jobs: | |
# - uses: actions/checkout@v3 | ||
# - uses: actions/setup-go@v3 | ||
# with: | ||
# go-version: 1.17 | ||
# go-version: 1.18 | ||
# - name: Display go version | ||
# run: go version | ||
# - uses: technote-space/[email protected] | ||
|
@@ -91,7 +91,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
|
@@ -169,7 +169,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
|
@@ -218,7 +218,7 @@ jobs: | |
with: | ||
name: "${{ github.sha }}-03-race-output" | ||
if: env.GIT_DIFF | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].5 | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-tparse-binary | ||
|
@@ -235,7 +235,7 @@ jobs: | |
# - uses: actions/checkout@v3 | ||
# - uses: actions/setup-go@v3 | ||
# with: | ||
# go-version: 1.17 | ||
# go-version: 1.18 | ||
# - uses: technote-space/[email protected] | ||
# id: git_diff | ||
# with: | ||
|
@@ -251,4 +251,3 @@ jobs: | |
# run: | | ||
# ./contrib/localnet_liveness.sh 100 5 50 localhost | ||
# if: env.GIT_DIFF | ||
|
Oops, something went wrong.