ci: pin rust lock version (#112)

This commit is contained in:
Nicolò Boschi 2026-01-07 11:29:41 +01:00 committed by GitHub
parent 2a00df0bc0
commit 5a3090b5e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

4
package-lock.json generated
View file

@ -13,7 +13,7 @@
}, },
"hindsight-clients/typescript": { "hindsight-clients/typescript": {
"name": "@vectorize-io/hindsight-client", "name": "@vectorize-io/hindsight-client",
"version": "0.1.16", "version": "0.2.1",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@hey-api/openapi-ts": "^0.88.0", "@hey-api/openapi-ts": "^0.88.0",
@ -26,7 +26,7 @@
}, },
"hindsight-control-plane": { "hindsight-control-plane": {
"name": "@vectorize-io/hindsight-control-plane", "name": "@vectorize-io/hindsight-control-plane",
"version": "0.1.16", "version": "0.2.1",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@radix-ui/react-alert-dialog": "^1.1.15", "@radix-ui/react-alert-dialog": "^1.1.15",

View file

@ -51,16 +51,16 @@ echo "=================================================="
RUST_CLIENT_DIR="$CLIENTS_DIR/rust" RUST_CLIENT_DIR="$CLIENTS_DIR/rust"
# Clean old generated files # Clean old generated files (keep Cargo.lock for reproducible builds)
echo "Cleaning old Rust generated code..." echo "Cleaning old Rust generated code..."
rm -rf "$RUST_CLIENT_DIR/target" rm -rf "$RUST_CLIENT_DIR/target"
rm -f "$RUST_CLIENT_DIR/Cargo.lock"
# Trigger regeneration by building # Trigger regeneration by building
# Use --locked to ensure reproducible builds from committed Cargo.lock
echo "Regenerating Rust client (via build.rs)..." echo "Regenerating Rust client (via build.rs)..."
cd "$RUST_CLIENT_DIR" cd "$RUST_CLIENT_DIR"
cargo clean cargo clean
cargo build --release cargo build --release --locked
echo "✓ Rust client generated at $RUST_CLIENT_DIR" echo "✓ Rust client generated at $RUST_CLIENT_DIR"
echo "" echo ""