We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0e26b8 commit db149aeCopy full SHA for db149ae
go-monorepo/gotidy.sh
@@ -52,10 +52,10 @@ cd "${repo}"
52
go work use
53
mods="$(go list -m -f "{{`{{.Dir}}`}}")"
54
55
-# Disable workspaces to ensure that each module builds successfully outside of
56
-# the workspace. This is important for Docker containers or mirrored open
57
-# source repos where the workspace won't exist.
58
-export GOWORK=off
+# TODO: Add a script that runs this with GOWORK=off to check that the modules
+# build with the workspace disabled. This is useful to ensure that the modules
+# are self-contained and don't rely on the workspace for dependencies.
+# export GOWORK=off
59
60
# Update the Go version first, since that will influence how Go updates
61
# dependencies and tidies the modules.
0 commit comments