chore: upgrade dependencies and secure passwords

This commit is contained in:
2026-08-10 12:53:23 +08:00
parent 1a1fa521c0
commit 581a503883
53 changed files with 298 additions and 143 deletions

View File

@@ -32,11 +32,26 @@ for module_dir in "${modules[@]}"; do
(
cd -- "${module_dir}"
go get -u ./...
if ! go get -u ./...; then
echo "warning: dependency update failed; retrying with the current genproto parent module" >&2
# Older transitive gRPC dependencies can select the pre-split genproto
# module alongside the current googleapis/api and googleapis/rpc modules.
# Seeding the current parent version lets MVS resolve a non-overlapping set;
# go mod tidy removes this requirement afterward when it is not needed.
go get google.golang.org/genproto@latest
go get -u ./...
fi
go mod tidy
)
done
echo
echo "==> Pinning the current genproto parent module for workspace compatibility"
(
cd -- "${modules[0]}"
go get google.golang.org/genproto@latest
)
echo
echo "==> Synchronizing go.work"
go work sync