build(deps): bump cosmossdk.io/api from 0.7.5 to 0.7.6 #23
Workflow file for this run
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.22" | |
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" |