-
Notifications
You must be signed in to change notification settings - Fork 620
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
472 changed files
with
21,855 additions
and
19,226 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
queue_rules: | ||
- name: default | ||
conditions: | ||
- "#approved-reviews-by>=1" | ||
- base=main | ||
- label=automerge | ||
|
||
pull_request_rules: | ||
- name: automerge to main with label automerge and branch protection passing | ||
conditions: | ||
- "#approved-reviews-by>=1" | ||
- base=main | ||
- label=automerge | ||
actions: | ||
queue: | ||
name: default | ||
method: squash | ||
commit_message_template: | | ||
{{ title }} (#{{ number }}) | ||
{{ body }} | ||
- name: backport patches to v1.1.x branch | ||
conditions: | ||
- base=main | ||
- label=backport-to-v1.1.x | ||
actions: | ||
backport: | ||
branches: | ||
- release/v1.1.x | ||
- name: backport patches to v1.2x branch | ||
conditions: | ||
- base=main | ||
- label=backport-to-v1.2.x | ||
actions: | ||
backport: | ||
branches: | ||
- release/v1.2.x | ||
- name: backport patches to v2.0.x branch | ||
conditions: | ||
- base=main | ||
- label=backport-to-v2.0.x | ||
actions: | ||
backport: | ||
branches: | ||
- release/v2.0.x | ||
- name: backport patches to v3.0.x branch | ||
conditions: | ||
- base=main | ||
- label=backport-to-v3.0.x | ||
actions: | ||
backport: | ||
branches: | ||
- release/v3.0.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Check docs build | ||
# This workflow runs when a PR is labeled with `docs` | ||
# This will check if the docs build successfully by running `npm run build` | ||
on: | ||
pull_request: | ||
paths: | ||
- './docs' | ||
|
||
jobs: | ||
check-docs-build: | ||
if: ${{ github.event.label.name == 'docs' }} | ||
|
||
name: Check docs build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v2.4.0 | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
|
||
- name: Install dependencies and build docs 🧱 | ||
run: | | ||
cd docs | ||
npm install | ||
npm run build |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v[0-9]+.[0-9]+.[0-9]+-?[a-z0-9]*' # Push events to matching v*, i.e. v1.0.0, v20.15.10, v3.0.0-alpha1 | ||
|
||
jobs: | ||
goreleaser: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2.4.0 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.17' | ||
|
||
- name: Release | ||
uses: goreleaser/goreleaser-action@v2 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
version: latest | ||
args: release --rm-dist | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_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
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 |
---|---|---|
|
@@ -52,3 +52,6 @@ dependency-graph.png | |
*.aux | ||
*.out | ||
*.synctex.gz | ||
|
||
*.history | ||
|
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,35 @@ | ||
before: | ||
hooks: | ||
- go mod tidy | ||
|
||
builds: | ||
- main: ./testing/simapp/simd/main.go | ||
binary: simd | ||
flags: | ||
- -tags=netgo ledger | ||
- -mod=readonly | ||
ldflags: | ||
- -s -w -X github.com/cosmos/cosmos-sdk/version.Name=sim -X github.com/cosmos/cosmos-sdk/version.AppName=simd -X github.com/cosmos/cosmos-sdk/version.Version={{.Version}} -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger" | ||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
- windows | ||
- darwin | ||
# for goarch use defaults: 386, amd64 and arm64. | ||
|
||
checksum: | ||
name_template: SHA256SUMS-{{.Version}}.txt | ||
algorithm: sha256 | ||
|
||
release: | ||
mode: keep-existing | ||
|
||
archives: | ||
- name_template: "{{ .ProjectName }}_simd_v{{ .Version }}_{{ .Os }}_{{ .Arch }}" | ||
files: | ||
- LICENSE | ||
- README.md | ||
- RELEASES.md | ||
- SECURITY.md | ||
- CHANGELOG.md |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.