-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #379 from cosmosquad-labs/bump-sdk-0.45.9
feat: bump SDK v0.45.9
- Loading branch information
Showing
20 changed files
with
1,919 additions
and
179 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,22 +1,25 @@ | ||
name: Lint | ||
# Lint runs golangci-lint over the entire cosmos-sdk repository | ||
# 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: | ||
- main | ||
|
||
jobs: | ||
golangci: | ||
name: golangci-lint | ||
name: Run golangci-lint | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 6 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: golangci/golangci-lint-action@master | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
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.40 | ||
args: --timeout 10m | ||
github-token: ${{ secrets.github_token }} | ||
go-version: 1.18 | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
**/**.go | ||
go.mod | ||
go.sum | ||
- name: Run golangci-lint | ||
run: make lint | ||
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
- name: Display go version | ||
run: go version | ||
- run: make build | ||
|
@@ -27,11 +27,11 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
- name: Display go version | ||
run: go version | ||
- name: Install runsim | ||
run: export GO111MODULE="on" && go get github.com/cosmos/tools/cmd/[email protected] | ||
run: export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/[email protected] | ||
- uses: actions/[email protected] | ||
with: | ||
path: ~/go/bin | ||
|
@@ -44,7 +44,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v4 | ||
|
@@ -70,7 +70,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v4 | ||
|
@@ -98,7 +98,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
- name: Display go version | ||
run: go version | ||
- uses: technote-space/get-diff-action@v4 | ||
|
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'" | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
|
@@ -24,7 +24,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: | ||
|
@@ -42,7 +42,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 | ||
- name: test & coverage report creation | ||
|
@@ -69,7 +69,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 | ||
- name: test & coverage report creation | ||
|
@@ -87,4 +87,4 @@ jobs: | |
done | ||
- uses: codecov/[email protected] | ||
with: | ||
file: ./coverage.txt | ||
file: ./coverage.txt |
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
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
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 |
---|---|---|
|
@@ -58,24 +58,24 @@ tools-stamp: statik runsim | |
touch $@ | ||
|
||
# Install the runsim binary with a temporary workaround of entering an outside | ||
# directory as the "go get" command ignores the -mod option and will polute the | ||
# directory as the "go install" command ignores the -mod option and will polute the | ||
# go.{mod, sum} files. | ||
# | ||
# ref: https://github.com/golang/go/issues/30515 | ||
statik: $(STATIK) | ||
$(STATIK): | ||
@echo "Installing statik..." | ||
@(cd /tmp && go get github.com/rakyll/[email protected]) | ||
@(cd /tmp && go install github.com/rakyll/[email protected]) | ||
|
||
# Install the runsim binary with a temporary workaround of entering an outside | ||
# directory as the "go get" command ignores the -mod option and will polute the | ||
# directory as the "go install" command ignores the -mod option and will polute the | ||
# go.{mod, sum} files. | ||
# | ||
# ref: https://github.com/golang/go/issues/30515 | ||
runsim: $(RUNSIM) | ||
$(RUNSIM): | ||
@echo "Installing runsim..." | ||
@(cd /tmp && go get github.com/cosmos/tools/cmd/[email protected]) | ||
@(cd /tmp && go install github.com/cosmos/tools/cmd/[email protected]) | ||
|
||
tools-clean: | ||
rm -f $(STATIK) $(GOLANGCI_LINT) $(RUNSIM) | ||
|
Oops, something went wrong.