From b91d8bcbb9d9321cce25bfcff226bde9202444f6 Mon Sep 17 00:00:00 2001 From: n3wbie Date: Tue, 19 Nov 2024 03:12:24 +0900 Subject: [PATCH] feat: run gnoland with changed genesis --- .github/workflows/genesis-verify.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/genesis-verify.yml b/.github/workflows/genesis-verify.yml index 4ac7b4c0a52..e01a9e3dfc9 100644 --- a/.github/workflows/genesis-verify.yml +++ b/.github/workflows/genesis-verify.yml @@ -44,3 +44,14 @@ jobs: echo "Verifying $file" gnogenesis verify -genesis-path $file done + + - name: Build gnoland + run: make -C gno.land install.gnoland + + - name: Running latest gnoland with each genesis file + run: | + for file in ${{ steps.changed-files.outputs.all_changed_files }}; do + echo "Running gnoland with $file" + gnoland start -lazy=true --genesis $file + # TODO: how to determine if the genesis is valid and chain did start? + done