From 9e4799668d0ccaeb30ac77323438b99b0d3e8e11 Mon Sep 17 00:00:00 2001 From: aazhou1 Date: Thu, 19 Dec 2024 23:49:10 -0800 Subject: [PATCH] hardhat foundry integration --- .github/workflows/deploy-strategy-hardhat-mainnet.yaml | 1 + .github/workflows/deploy-strategy-hardhat-sepolia.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/deploy-strategy-hardhat-mainnet.yaml b/.github/workflows/deploy-strategy-hardhat-mainnet.yaml index d07322b..e888b98 100644 --- a/.github/workflows/deploy-strategy-hardhat-mainnet.yaml +++ b/.github/workflows/deploy-strategy-hardhat-mainnet.yaml @@ -53,6 +53,7 @@ jobs: - uses: actions/checkout@master with: fetch-depth: 0 + - uses: foundry-rs/foundry-toolchain@v1 - id: nodeversion run: echo "version=$(grep nodejs .tool-versions | sed -e 's/[^[:space:]]*[[:space:]]*//')" >> $GITHUB_OUTPUT - run: corepack enable diff --git a/.github/workflows/deploy-strategy-hardhat-sepolia.yaml b/.github/workflows/deploy-strategy-hardhat-sepolia.yaml index 5c672eb..47e8ac4 100644 --- a/.github/workflows/deploy-strategy-hardhat-sepolia.yaml +++ b/.github/workflows/deploy-strategy-hardhat-sepolia.yaml @@ -53,6 +53,7 @@ jobs: - uses: actions/checkout@master with: fetch-depth: 0 + - uses: foundry-rs/foundry-toolchain@v1 - id: nodeversion run: echo "version=$(grep nodejs .tool-versions | sed -e 's/[^[:space:]]*[[:space:]]*//')" >> $GITHUB_OUTPUT - run: corepack enable