diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00e3a3851..62939a7fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,8 @@ env: NODE_MODULE_CACHE_VERSION: 5 NODE_OPTIONS: '--max-old-space-size=4096' TERM: dumb + # Supported Foundry version defined at celo-org (GitHub organisation) level, for consistency across workflows. + SUPPORTED_FOUNDRY_VERSION: ${{ vars.SUPPORTED_FOUNDRY_VERSION }} # EXAMPLE on debug ssh step # - name: Setup tmate session @@ -235,7 +237,7 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 with: - version: "nightly-f625d0fa7c51e65b4bf1e8f7931cd1c6e2e285e9" + version: ${{ env.SUPPORTED_FOUNDRY_VERSION }} # NODE_OPTIONS="--experimental-vm-modules" is needed because @viem/anvil uses dynamic imports - name: Run tests run: |