upgrade to ethermint v0.21.0 #99
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -24,10 +24,10 @@ jobs:
|
|||||||
- uses: technote-space/get-diff-action@v6.0.1
|
- uses: technote-space/get-diff-action@v6.0.1
|
||||||
id: git_diff
|
id: git_diff
|
||||||
with:
|
with:
|
||||||
SUFFIX_FILTER: |
|
PATTERNS: |
|
||||||
.go
|
**/**.go
|
||||||
.mod
|
go.mod
|
||||||
.sum
|
go.sum
|
||||||
- run: |
|
- run: |
|
||||||
make build
|
make build
|
||||||
if: env.GIT_DIFF
|
if: env.GIT_DIFF
|
||||||
|
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
language: [ 'go', 'javascript' ]
|
language: [ 'go' ]
|
||||||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
|
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
|
||||||
# Learn more:
|
# Learn more:
|
||||||
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
|
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
|
||||||
|
10
.github/workflows/deploy-contract.yml
vendored
10
.github/workflows/deploy-contract.yml
vendored
@ -26,11 +26,11 @@ jobs:
|
|||||||
- uses: technote-space/get-diff-action@v6.0.1
|
- uses: technote-space/get-diff-action@v6.0.1
|
||||||
id: git_diff
|
id: git_diff
|
||||||
with:
|
with:
|
||||||
SUFFIX_FILTER: |
|
PATTERNS: |
|
||||||
.go
|
**/**.sol
|
||||||
.mod
|
**/**.go
|
||||||
.sum
|
go.mod
|
||||||
.sol
|
go.sum
|
||||||
- name: Test contract
|
- name: Test contract
|
||||||
run: |
|
run: |
|
||||||
sudo make contract-tools
|
sudo make contract-tools
|
||||||
|
12
.github/workflows/linkchecker.yml
vendored
12
.github/workflows/linkchecker.yml
vendored
@ -1,12 +0,0 @@
|
|||||||
name: Check Markdown links
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: "* */24 * * *"
|
|
||||||
jobs:
|
|
||||||
markdown-link-check:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.14
|
|
||||||
with:
|
|
||||||
folder-path: "docs"
|
|
16
.github/workflows/lint.yml
vendored
16
.github/workflows/lint.yml
vendored
@ -18,7 +18,6 @@ jobs:
|
|||||||
go-version: 1.17
|
go-version: 1.17
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: technote-space/get-diff-action@v6.0.1
|
- uses: technote-space/get-diff-action@v6.0.1
|
||||||
id: git_diff
|
|
||||||
with:
|
with:
|
||||||
PATTERNS: |
|
PATTERNS: |
|
||||||
**/**.go
|
**/**.go
|
||||||
@ -31,3 +30,18 @@ jobs:
|
|||||||
github-token: ${{ secrets.github_token }}
|
github-token: ${{ secrets.github_token }}
|
||||||
# Check only if there are differences in the source code
|
# Check only if there are differences in the source code
|
||||||
if: "env.GIT_DIFF"
|
if: "env.GIT_DIFF"
|
||||||
|
markdown-lint:
|
||||||
|
name: Run markdown-lint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 10
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: technote-space/get-diff-action@v6.0.1
|
||||||
|
with:
|
||||||
|
PATTERNS: |
|
||||||
|
docs/**/*.md
|
||||||
|
x/**/*.md
|
||||||
|
README.md
|
||||||
|
- uses: articulate/actions-markdownlint@v1.1.0
|
||||||
|
# Check only if there are differences in the source code
|
||||||
|
if: env.GIT_DIFF
|
||||||
|
2
.github/workflows/semgrep.yml
vendored
2
.github/workflows/semgrep.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
|||||||
generateSarif: "1"
|
generateSarif: "1"
|
||||||
if: "env.GIT_DIFF_FILTERED != ''"
|
if: "env.GIT_DIFF_FILTERED != ''"
|
||||||
# Upload findings to GitHub Advanced Security Dashboard [step 2/2]
|
# Upload findings to GitHub Advanced Security Dashboard [step 2/2]
|
||||||
- name: Upload SARIF file for GitHub Advanced Security Dashboard
|
- name: Upload SARIF file
|
||||||
uses: github/codeql-action/upload-sarif@v1
|
uses: github/codeql-action/upload-sarif@v1
|
||||||
with:
|
with:
|
||||||
sarif_file: semgrep.sarif
|
sarif_file: semgrep.sarif
|
||||||
|
67
.github/workflows/test.yml
vendored
67
.github/workflows/test.yml
vendored
@ -43,7 +43,6 @@ jobs:
|
|||||||
- uses: technote-space/get-diff-action@v6.0.1
|
- uses: technote-space/get-diff-action@v6.0.1
|
||||||
with:
|
with:
|
||||||
PATTERNS: |
|
PATTERNS: |
|
||||||
**/**.sol
|
|
||||||
**/**.go
|
**/**.go
|
||||||
go.mod
|
go.mod
|
||||||
go.sum
|
go.sum
|
||||||
@ -69,72 +68,14 @@ jobs:
|
|||||||
- uses: technote-space/get-diff-action@v6.0.1
|
- uses: technote-space/get-diff-action@v6.0.1
|
||||||
id: git_diff
|
id: git_diff
|
||||||
with:
|
with:
|
||||||
SUFFIX_FILTER: |
|
PATTERNS: |
|
||||||
.go
|
**/**.go
|
||||||
.mod
|
go.mod
|
||||||
.sum
|
go.sum
|
||||||
- name: test-importer
|
- name: test-importer
|
||||||
run: |
|
run: |
|
||||||
make test-import
|
make test-import
|
||||||
if: env.GIT_DIFF
|
if: env.GIT_DIFF
|
||||||
|
|
||||||
test-solidity:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 240
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
batch: ['1-3', '2-3', '3-3']
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: actions/setup-go@v3
|
|
||||||
with:
|
|
||||||
go-version: 1.17
|
|
||||||
check-latest: true
|
|
||||||
- uses: technote-space/get-diff-action@v6.0.1
|
|
||||||
id: git_diff
|
|
||||||
with:
|
|
||||||
PATTERNS: |
|
|
||||||
**/**.sol
|
|
||||||
**/**.go
|
|
||||||
tests/solidity/**/*.js
|
|
||||||
tests/solidity/**/*.sh
|
|
||||||
go.mod
|
|
||||||
go.sum
|
|
||||||
- name: test-solidity
|
|
||||||
run: |
|
|
||||||
./scripts/run-solidity-tests.sh --batch=${{ matrix.batch }}
|
|
||||||
if: env.GIT_DIFF
|
|
||||||
|
|
||||||
liveness-test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 10
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: actions/setup-go@v3
|
|
||||||
with:
|
|
||||||
go-version: 1.17
|
|
||||||
check-latest: true
|
|
||||||
- uses: technote-space/get-diff-action@v6.0.1
|
|
||||||
id: git_diff
|
|
||||||
with:
|
|
||||||
PATTERNS: |
|
|
||||||
**/**.go
|
|
||||||
go.mod
|
|
||||||
go.sum
|
|
||||||
- name: Install Starport
|
|
||||||
run: |
|
|
||||||
curl https://get.starport.network/starport! | bash
|
|
||||||
if: env.GIT_DIFF
|
|
||||||
- name: Start Local Network via Starport
|
|
||||||
run: |
|
|
||||||
starport chain serve --reset-once -v -c ./starport.yml > starport.out 2>&1 &
|
|
||||||
if: env.GIT_DIFF
|
|
||||||
- name: Test Local Network Liveness
|
|
||||||
run: |
|
|
||||||
sleep 2m
|
|
||||||
./contrib/scripts/test_localnet_liveness.sh 100 5 50 localhost
|
|
||||||
if: env.GIT_DIFF
|
|
||||||
|
|
||||||
test-rpc:
|
test-rpc:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user