diff --git a/.github/workflows/rosetta-cli-test.yaml b/.github/workflows/rosetta-cli-test.yaml index 651b2bf..fcf984d 100644 --- a/.github/workflows/rosetta-cli-test.yaml +++ b/.github/workflows/rosetta-cli-test.yaml @@ -12,7 +12,7 @@ permissions: contents: read jobs: - build: + run-rosetta: runs-on: ubuntu-latest strategy: matrix: @@ -32,5 +32,15 @@ jobs: - name: Build Rosetta if: env.GIT_DIFF run: GOARCH=${{ matrix.go-arch }} make rosetta + - name: Run Rosetta + run: ./rosetta --blockchain "cosmos" --network "cosmos" --tendermint "tcp://localhost:26657" --addr "localhost:8080" --grpc "localhost:9090" + run-rosetta-cli-tests: + runs-on: ubuntu-latest + needs: run-rosetta + strategy: + matrix: + go-arch: ["amd64", "arm", "arm64"] + steps: + - uses: actions/checkout@v3 - name: Rosetta-cli setup & test run: GOARCH=${{ matrix.go-arch }} make rosetta-cli diff --git a/Makefile b/Makefile index e59f7fd..b10bb37 100644 --- a/Makefile +++ b/Makefile @@ -34,5 +34,4 @@ lint-fix: rosetta-cli: echo "Installing rosetta linter" curl -sSfL https://raw.githubusercontent.com/coinbase/rosetta-cli/master/scripts/install.sh | sh -s - ls ./bin/rosetta-cli --configuration-file ./configs/rosetta-config-cli.json check:data \ No newline at end of file