GoBuild builds a go binary from the given source file and outputs it to the specified path.
Note: Be careful with outDir so that it is at the right scope! For example, you likely don't want to use
t.TempDir() unless it is really scoped to a single test function.