Skip to content

build(deps): bump actions/checkout from 3 to 4 #64

build(deps): bump actions/checkout from 3 to 4

build(deps): bump actions/checkout from 3 to 4 #64

name: rosetta-cli-test
on:
push:
branches:
- main
- release/**
pull_request:
merge_group:
permissions:
contents: read
jobs:
run-simapp:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: '^1.21.1'
- name: Get cosmos-sdk repo
uses: actions/checkout@v4
with:
repository: cosmos/cosmos-sdk
ref: main
- name: set up simapp
run: make build && export SIMD_BIN=./build/simd && make init-simapp
- name: Run simapp
run: ./build/simd start &
- name: Check blockchain status
run: curl localhost:26657/status
- name: Checkout back to rosetta
uses: actions/checkout@v4
- name: Build Rosetta
run: go mod tidy && make rosetta && make plugin
- name: Run Rosetta service
run: ./rosetta --blockchain "cosmos" --network "cosmos" --tendermint "tcp://localhost:26657" --addr "localhost:8081" --grpc "localhost:9090" &
- name: Check rosetta status
run: curl localhost:8081/block
- name: Test rosetta through Rosetta-cli
run: make rosetta-cli