diff --git a/.github/workflows/ci-default.yml b/.github/workflows/ci-default.yml index 44727ba4..ea554b7f 100644 --- a/.github/workflows/ci-default.yml +++ b/.github/workflows/ci-default.yml @@ -36,14 +36,24 @@ jobs: validate-internal-testnet-genesis: runs-on: ubuntu-latest steps: + - name: checkout repo from current commit + uses: actions/checkout@v3 + with: + submodules: true + - name: save version of kava that will be deployed if this pr is merged + id: kava-version + run: | + echo "KAVA_VERSION=$(cat ./ci/env/kava-internal-testnet/KAVA.VERSION)" >> $GITHUB_OUTPUT - name: checkout repo from master uses: actions/checkout@v3 with: - ref: master - - name: checkout version of kava used by internal testnet + ref: master + - name: checkout version of kava that will be deployed if this pr is merged run: | - git pull -p - git checkout $(cat ./ci/env/kava-internal-testnet/KAVA.VERSION) + git pull -p + git checkout $KAVA_VERSION + env: + KAVA_VERSION: ${{ steps.kava-version.outputs.KAVA_VERSION }} - name: Set up Go uses: actions/setup-go@v3 with: diff --git a/ci/env/kava-internal-testnet/KAVA.VERSION b/ci/env/kava-internal-testnet/KAVA.VERSION index b1824a3d..dfc65a01 100644 --- a/ci/env/kava-internal-testnet/KAVA.VERSION +++ b/ci/env/kava-internal-testnet/KAVA.VERSION @@ -1 +1 @@ -7f57dae02b4f732fac4cf5f53379728d92578d5f +357ec96338a4c4fa4624560f1182bf85cc068009