From 890c52bf891f959b2d31b9c35829abb721f59629 Mon Sep 17 00:00:00 2001 From: Enderson Maia Date: Thu, 31 Oct 2024 16:23:32 -0300 Subject: [PATCH] fixup! ci(devnet): lock anvil version --- .github/workflows/devnet.yaml | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/.github/workflows/devnet.yaml b/.github/workflows/devnet.yaml index 34a75ee..0f3a8ce 100644 --- a/.github/workflows/devnet.yaml +++ b/.github/workflows/devnet.yaml @@ -28,29 +28,10 @@ jobs: node-version: 20 cache: "pnpm" - - name: Capture anvil version from @cartesi/rollups-contracts release - id: anvil-version - working-directory: packages/devnet - env: - GH_TOKEN: ${{ github.token }} - run: | - CARTESI_ROLLUPS_CONTRACTS_VERSION="$(jq -r '.devDependencies."@cartesi/rollups"' package.json)" - ANVIL_NIGHTLY_VERSION="$( - gh release view v${CARTESI_ROLLUPS_CONTRACTS_VERSION} \ - --repo cartesi/rollups-contracts \ - --json assets \ - --jq '.assets[] | select(.name | contains("anvil")) | .name | capture(".*-anvil-(?nightly-[a-f0-9]{40})\\.tar\\.gz").version' - )" - - printf "Detected @cartesi/rollups-contracts version: %s\n" "${CARTESI_ROLLUPS_CONTRACTS_VERSION}" - printf "Detected anvil nightly version: %s\n" "${ANVIL_NIGHTLY_VERSION}" - - echo "ANVIL_VERSION=${ANVIL_NIGHTLY_VERSION}" >> "$GITHUB_OUTPUT" - - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 with: - version: ${{ steps.anvil-version.outputs.ANVIL_VERSION }} + version: nightly-2044faec64f99a21f0e5f0094458a973612d0712 - name: Install dependencies run: pnpm install