-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into clevinson/isolated-cmd-test
- Loading branch information
Showing
822 changed files
with
338,843 additions
and
208,906 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,43 @@ | ||
# | ||
# This codecov.yml is the default configuration for | ||
# all repositories on Codecov. You may adjust the settings | ||
# below in your own codecov.yml in your repository. | ||
# Codecov Docs: | ||
# https://docs.codecov.com/docs | ||
# | ||
# Codecov Reports: | ||
# https://app.codecov.io/gh/regen-network/regen-ledger | ||
# | ||
coverage: | ||
precision: 2 | ||
round: down | ||
range: 70...100 | ||
|
||
status: | ||
# Learn more at https://codecov.io/docs#yaml_default_commit_status | ||
project: | ||
default: | ||
threshold: 1% # allow this much decrease on project | ||
threshold: 1% | ||
app: | ||
paths: | ||
- "app/" | ||
types: | ||
paths: | ||
- "types/" | ||
data: | ||
paths: | ||
- "x/data/" | ||
ecocredit: | ||
paths: | ||
- "x/ecocredit/" | ||
changes: false | ||
|
||
comment: | ||
layout: "header, diff, flags" | ||
behavior: default # update if exists else create new | ||
layout: "diff, flags, files" | ||
behavior: default | ||
require_changes: true | ||
|
||
ignore: | ||
- "docs" | ||
- "*.md" | ||
- "*.org" | ||
- "build" | ||
- "tests/*" | ||
- "contrib" | ||
- "mocks" | ||
- "**/mocks" | ||
- "**/simulation" | ||
- "**/*.cosmos_orm.go" | ||
- "**/*.pb.go" | ||
- "**/*.pb.gw.go" | ||
- "scripts" | ||
|
||
- "**/*.pulsar.go" | ||
- "**/statik.go" |
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,2 +1,6 @@ | ||
[Makefile] | ||
indent_style = tab | ||
indent_style = tab | ||
|
||
[*.proto] | ||
indent_style = space | ||
indent_size = 2 |
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 |
---|---|---|
|
@@ -5,20 +5,37 @@ on: | |
push: | ||
branches: | ||
- master | ||
- release/v* | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
envs: ["stable-build", "release-build"] | ||
steps: | ||
- name: Install Go | ||
- | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- | ||
uses: actions/[email protected] | ||
with: | ||
go-version: 1.17 | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Display go version | ||
run: go version | ||
- name: make build | ||
go-version: 1.18 | ||
- | ||
name: Build stable | ||
if: matrix.envs == 'stable-build' | ||
run: make build | ||
- name: make experimental build | ||
run: EXPERIMENTAL=true make build | ||
- | ||
name: Run release setup | ||
if: matrix.envs == 'release-build' | ||
run: ./scripts/release-setup.sh | ||
shell: bash | ||
- | ||
name: Build release | ||
if: matrix.envs == 'release-build' | ||
uses: goreleaser/goreleaser-action@v2 | ||
with: | ||
version: latest | ||
args: build --skip-validate --rm-dist |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,18 +11,21 @@ jobs: | |
golangci: | ||
name: golangci-lint | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 6 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: technote-space/get-diff-action@v4 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18 | ||
- uses: technote-space/[email protected] | ||
id: git_diff | ||
with: | ||
PATTERNS: | | ||
**/**.go | ||
go.mod | ||
go.sum | ||
- uses: golangci/golangci-lint-action@master | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
version: v1.28 | ||
args: --timeout 10m | ||
github-token: ${{ secrets.github_token }} | ||
version: latest | ||
args: --out-format=tab | ||
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,20 @@ | ||
name: Proto-Registry | ||
# Push updated proto files to https://buf.build/regen/regen-ledger | ||
# 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/buf-setup-action@v1 | ||
- 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
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,32 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.18 | ||
- | ||
name: Run release setup | ||
run: ./scripts/release-setup.sh | ||
shell: bash | ||
- | ||
name: Build and release | ||
uses: goreleaser/goreleaser-action@v2 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: Sims Nightly | ||
|
||
on: | ||
schedule: | ||
# Runs "at 1am every day" | ||
- corn: "0 0 * * *" | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
if: "!contains(github.event.head_commit.message, 'skip-sims')" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.18 | ||
- name: Display go version | ||
run: go version | ||
- run: make build | ||
|
||
install-runsim: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
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] | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
|
||
sim-after-import: | ||
runs-on: ubuntu-latest | ||
needs: [build, install-runsim] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.18 | ||
- name: Display go version | ||
run: go version | ||
- uses: actions/[email protected] | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
- name: sim-after-import | ||
run: | | ||
make sim-regen-after-import | ||
sim-fullapp: | ||
runs-on: ubuntu-latest | ||
needs: [build, install-runsim] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.18 | ||
- name: Display go version | ||
run: go version | ||
- uses: actions/[email protected] | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-runsim-binary | ||
- name: sim-fullapp | ||
run: | | ||
make sim-regen-fast |
Oops, something went wrong.