diff --git a/codegen/smithy-go-codegen-test/build.gradle.kts b/codegen/smithy-go-codegen-test/build.gradle.kts index b496e36c6..02bbb06a4 100644 --- a/codegen/smithy-go-codegen-test/build.gradle.kts +++ b/codegen/smithy-go-codegen-test/build.gradle.kts @@ -36,6 +36,6 @@ dependencies { tasks.create("verifyGoCodegen") { dependsOn ("build") workingDir("$buildDir/smithyprojections/smithy-go-codegen-test/source/go-codegen") - commandLine ("go", "test", "-run", "NONE", "./...") + commandLine ("go", "test", "-mod", "mod", "-run", "NONE", "./...") } tasks["build"].finalizedBy(tasks["verifyGoCodegen"])