diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 8f61b68ae..cdf03a8de 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -18,6 +18,8 @@ jobs: config: [foundry] steps: - uses: actions/checkout@v4 + - with: + submodules: recursive - name: Setup Node.js 18.x uses: actions/setup-node@v4 diff --git a/src/cli.ts b/src/cli.ts index 08eb26c92..3447122b0 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -4,8 +4,8 @@ import { promptForMissingOptions } from "./utils/prompt-for-missing-options"; import { renderIntroMessage } from "./utils/render-intro-message"; import type { Args } from "./types"; import chalk from "chalk"; -// import { SOLIDITY_FRAMEWORKS } from "./utils/consts"; -// import { validateFoundryUp } from "./utils/system-validation"; +import { SOLIDITY_FRAMEWORKS } from "./utils/consts"; +import { validateFoundryUp } from "./utils/system-validation"; import { showHelpMessage } from "./utils/show-help-message"; export async function cli(args: Args) { @@ -18,9 +18,9 @@ export async function cli(args: Args) { } const options = await promptForMissingOptions(rawOptions, solidityFrameworkChoices); - // if (options.solidityFramework === SOLIDITY_FRAMEWORKS.FOUNDRY) { - // await validateFoundryUp(); - // } + if (options.solidityFramework === SOLIDITY_FRAMEWORKS.FOUNDRY) { + await validateFoundryUp(); + } await createProject(options); } catch (error: any) {