diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a8a0bfbf8..67e52928f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -33,7 +33,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-go@v4.0.1 with: - go-version: '1.21.10' + go-version: '1.23.0' # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a6a33f487..d7a7ffe17 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4.0.1 with: - go-version: 1.21 + go-version: 1.23 - uses: technote-space/get-diff-action@v6.1.2 with: PATTERNS: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 136f081bc..0b14fa442 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,6 +53,7 @@ jobs: - uses: codecov/codecov-action@v3.1.4 with: file: ./coverage.txt # optional + token: 6556fc17-6f3d-40be-b947-0bba9a9fe92f fail_ci_if_error: true test-e2e: diff --git a/Makefile b/Makefile index fff354cb4..84224bb49 100644 --- a/Makefile +++ b/Makefile @@ -192,14 +192,13 @@ localnet-stop: docker-compose down start-localnet-ci: - ./build/shentud init liveness --chain-id liveness --home ~/.shentud-liveness - ./build/shentud config chain-id liveness --home ~/.shentud-liveness - ./build/shentud config keyring-backend test --home ~/.shentud-liveness - ./build/shentud keys add val --home ~/.shentud-liveness - ./build/shentud add-genesis-account val 10000000000000000000000000uctk --home ~/.shentud-liveness --keyring-backend test - ./build/shentud gentx val 1000000000uctk --home ~/.shentud-liveness --chain-id liveness - ./build/shentud collect-gentxs --home ~/.shentud-liveness - sed -i'' 's/minimum-gas-prices = ""/minimum-gas-prices = "0uatom"/' ~/.shentud-liveness/config/app.toml + ./build/shentud init liveness -o --chain-id liveness --home ~/.shentud-liveness + ./build/shentud config set client keyring-backend test --home ~/.shentud-liveness + ./build/shentud keys add val --keyring-backend test --home ~/.shentud-liveness + ./build/shentud add-genesis-account val 10000000000000000000stake --home ~/.shentud-liveness --keyring-backend test + ./build/shentud genesis gentx val 1000000000stake --home ~/.shentud-liveness --chain-id liveness --keyring-backend test + ./build/shentud genesis collect-gentxs --home ~/.shentud-liveness + sed -i 's/minimum-gas-prices = ".*"/minimum-gas-prices = "0stake"/' ~/.shentud-liveness/config/app.toml ./build/shentud start --home ~/.shentud-liveness --x-crisis-skip-assert-invariants .PHONY: start-localnet-ci diff --git a/devtools/localnet/test_localnet_liveness.sh b/devtools/localnet/test_localnet_liveness.sh index ce5c85c38..e076e83d2 100755 --- a/devtools/localnet/test_localnet_liveness.sh +++ b/devtools/localnet/test_localnet_liveness.sh @@ -47,7 +47,7 @@ while [ ${CNT} -lt $ITER ]; do echo "Success: number of blocks reached" exit 0 fi - + ((CNT++)) sleep $SLEEP done