test: add "mod" to build tests
@@ -672,8 +672,8 @@ function build_cov_pass {
# fail fast on static tests
function build_pass {
echo "Checking build..."
- GO_BUILD_FLAGS="-v" etcd_build
- GO_BUILD_FLAGS="-v" tools_build
+ GO_BUILD_FLAGS="-v -mod=mod" etcd_build
+ GO_BUILD_FLAGS="-v -mod=mod" tools_build
}
for pass in $PASSES; do
