diff --git a/automation/snippets/lib/languages/go.py b/automation/snippets/lib/languages/go.py index 67d746f12b..28f4cd4235 100644 --- a/automation/snippets/lib/languages/go.py +++ b/automation/snippets/lib/languages/go.py @@ -47,7 +47,11 @@ def compile(cls, tmpdir: Path, fnames: list[Path]) -> CompileResult: }, ) - subprocess.run(["go", "build", "-o", "tester", "."], cwd=tmpdir, check=True) + subprocess.run( + ["go", "build", "-buildvcs=false", "-o", "tester", "."], + cwd=tmpdir, + check=True, + ) return result