-
Notifications
You must be signed in to change notification settings - Fork 17
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
613 changed files
with
22,648 additions
and
24,534 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 |
---|---|---|
|
@@ -10,9 +10,9 @@ jobs: | |
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected].0 | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/[email protected].7 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.20.2 # The Go version to download (if necessary) and use. | ||
go-version: 1.22.2 # The Go version to download (if necessary) and use. | ||
- name: Build CLI | ||
run: go install ./... |
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 |
---|---|---|
|
@@ -12,16 +12,16 @@ jobs: | |
matrix: | ||
os: [ubuntu-20.04, macos-latest] | ||
steps: | ||
- uses: actions/[email protected].0 | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/[email protected].7 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.20.2 # The Go version to download (if necessary) and use. | ||
go-version: 1.22.2 # The Go version to download (if necessary) and use. | ||
- name: Build CLI | ||
shell: bash | ||
run: | | ||
make build | ||
cp "build/canined" "canined-$RUNNER_OS" | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: canined-${{runner.os}} | ||
path: canined-${{runner.os}} | ||
|
@@ -31,20 +31,20 @@ jobs: | |
[build-cli] | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].7 | ||
- uses: EndBug/latest-tag@latest | ||
with: | ||
# You can change the name of the tag with this input. | ||
# Default: 'latest' | ||
tag-name: canary | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: canined-Linux | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: canined-macOS | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
prerelease: true | ||
name: Canary | ||
|
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].7 | ||
|
||
# Runs djdefi/cloc-action | ||
- name: Count Lines of Code (cloc) | ||
|
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 |
---|---|---|
|
@@ -19,17 +19,17 @@ jobs: | |
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].7 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
uses: github/codeql-action/init@v3 | ||
with: | ||
languages: 'go' | ||
queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality | ||
|
||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v2 | ||
uses: github/codeql-action/autobuild@v3 | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
uses: github/codeql-action/analyze@v3 |
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 |
---|---|---|
|
@@ -18,10 +18,10 @@ jobs: | |
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/[email protected].0 | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/[email protected].7 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.20.2 # The Go version to download (if necessary) and use. | ||
go-version: 1.22.2 # The Go version to download (if necessary) and use. | ||
- name: Get Coverage | ||
run: | | ||
go test ./... -timeout=30m -cover -coverprofile coverage.out | ||
|
@@ -30,7 +30,7 @@ jobs: | |
go tool cover -func coverage3.out | ||
rm coverage2.out | ||
rm coverage.out | ||
- uses: codecov/codecov-action@v3.1.4 | ||
- uses: codecov/codecov-action@v4.5.0 | ||
with: | ||
token: ${{ secrets.CODECOV }} | ||
|
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 |
---|---|---|
|
@@ -15,12 +15,12 @@ jobs: | |
name: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.20.2 | ||
- uses: actions/[email protected].0 | ||
go-version: 1.22.2 | ||
- uses: actions/[email protected].7 | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
uses: golangci/golangci-lint-action@v6 | ||
with: | ||
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version | ||
version: latest | ||
|
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 |
---|---|---|
|
@@ -17,25 +17,25 @@ jobs: | |
matrix: | ||
os: [ubuntu-20.04, macos-latest] | ||
steps: | ||
- uses: actions/[email protected].0 | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/[email protected].7 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.20.2 # The Go version to download (if necessary) and use. | ||
go-version: 1.22.2 # The Go version to download (if necessary) and use. | ||
- name: Build CLI | ||
shell: bash | ||
run: | | ||
make build | ||
cp "build/canined" "canined-$RUNNER_OS" | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: canined-${{runner.os}} | ||
path: canined-${{runner.os}} | ||
|
||
# MacOS-ARM64-CLI: | ||
# runs-on: ubuntu-20.04 | ||
# steps: | ||
# - uses: actions/[email protected].0 | ||
# - uses: actions/setup-go@v4 | ||
# - uses: actions/[email protected].7 | ||
# - uses: actions/setup-go@v5 | ||
# with: | ||
# go-version: 1.19 # The Go version to download (if necessary) and use. | ||
# - name: Install xgo | ||
|
@@ -47,7 +47,7 @@ jobs: | |
# run: | | ||
# make build_macos_arm64_cli | ||
# cp "canined-macos-arm64" "canined-MacOS-arm64" | ||
# - uses: actions/upload-artifact@v3 | ||
# - uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: canined-MacOS-arm64 | ||
# path: canined-MacOS-arm64 | ||
|
@@ -57,7 +57,7 @@ jobs: | |
[native-build-cli] | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].7 | ||
- name: Get the version | ||
id: get_version | ||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/} | ||
|
@@ -66,14 +66,14 @@ jobs: | |
shell: bash | ||
run: | | ||
echo "::set-output name=IS_PRE_RELEASE::$(echo "${{ steps.get_version.outputs.VERSION }}" | awk 'BEGIN{prerelease="false"} /beta|alpha/{prerelease="true"} END{print prerelease}')" | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: canined-Linux | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: canined-macOS | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
prerelease: ${{ steps.is_pre_release.outputs.IS_PRE_RELEASE }} | ||
files: | | ||
|
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 |
---|---|---|
|
@@ -6,14 +6,14 @@ on: | |
branches: ["master"] | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
simtest: | ||
name: Simulation Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected].0 | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/[email protected].7 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.20.2 # The Go version to download (if necessary) and use. | ||
- name: Test | ||
go-version: 1.22.2 # The Go version to download (if necessary) and use. | ||
- name: Simulation Test | ||
shell: bash | ||
run: make test-sim-full-app |
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 |
---|---|---|
|
@@ -6,14 +6,14 @@ on: | |
branches: ["master"] | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
io-sim: | ||
name: Import Export Sim Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected].0 | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/[email protected].7 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.20.2 # The Go version to download (if necessary) and use. | ||
- name: Test | ||
go-version: 1.22.2 # The Go version to download (if necessary) and use. | ||
- name: Simulation | ||
shell: bash | ||
run: make test-sim-import-export |
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 |
---|---|---|
|
@@ -10,10 +10,10 @@ jobs: | |
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected].0 | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/[email protected].7 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.20.2 # The Go version to download (if necessary) and use. | ||
go-version: 1.22.2 # The Go version to download (if necessary) and use. | ||
- name: Test | ||
shell: bash | ||
run: make test-unit |
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.