build: bootstrap Go toolchain and generated APIs

This commit is contained in:
2026-08-31 08:01:13 +00:00
parent a110e1df57
commit e23737de0d
24 changed files with 7618 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
set -eu
repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
actual=$(mktemp)
trap 'rm -f "$actual"' EXIT HUP INT TERM
cd "$repo_root"
buf lint --error-format=text >"$actual" 2>&1 || true
LC_ALL=C sort -o "$actual" "$actual"
if ! diff -u config/buf-lint-baseline.txt "$actual"; then
echo "Buf lint findings changed; only the reviewed first-draft findings are accepted." >&2
exit 1
fi