build(deps): bump cosmossdk.io/client/v2 from 2.0.0-20241003135820-1195a4468f06 to 2.10.0-beta.1 #52
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
name: Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
concurrency: | |
group: ci-${{ github.ref }}-test | |
cancel-in-progress: true | |
jobs: | |
test-minid: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23" | |
check-latest: true | |
cache: true | |
cache-dependency-path: go.sum | |
- name: test block creation | |
run: | | |
make install | |
make init | |
minid start & | |
MINID_PID=$! | |
cnt=0 | |
while ! minid query block --type=height 5; do | |
cnt=$((cnt + 1)) | |
if [ $cnt -gt 30 ]; then | |
kill -9 "$MINID_PID" | |
exit 1 | |
fi | |
sleep 1 | |
done | |
kill -9 "$MINID_PID" |