From 22231db05adb2814118a282389cf126834f04760 Mon Sep 17 00:00:00 2001 From: Paul Downing Date: Thu, 13 Apr 2023 03:34:52 -0500 Subject: [PATCH] update kava version to the correct current commit (#1552) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * update kava version to the correct current commit https://github.com/Kava-Labs/kava/pull/1551/files used the id instead of the commit hash 😞 Use the commit hash not the id * use eternal release tag * use kava version for current commit when validating internal testnet genesis --------- Co-authored-by: Levi Schoen --- .github/workflows/ci-default.yml | 18 ++++++++++++++---- ci/env/kava-internal-testnet/KAVA.VERSION | 2 +- 2 files changed, 15 insertions(+), 5 deletions(-) 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