ci: build dev track and PR checks against dependency main #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/dev-deps-main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of ECO-38.
check.yml and dev-release.yml now clone bread-ecosystem's main once, run scripts/lint-pins.sh (check.yml only) and scripts/dev-deps.sh to patch bread-theme, bread-utils, bread-onnx and bread-screenshots (all from bread-ecosystem) to their own main branch, and build without --locked. Cargo.toml stays tag-pinned throughout; nothing is committed back.
rc-release.yml and release.yml are untouched: tag pins plus --locked, no patching, as before.
DEV_DEPS_DIR is left at its default (a true sibling of the checkout): breadsearch is a Cargo workspace, so forcing the clone inside the checkout breaks Cargo's workspace-field inheritance (the bug found rolling this out to breadbox). ci/build.sh's pinned rev is bumped to bread-ecosystem's fix for this.
Verified locally end to end: lint-pins, dev-deps.sh with its default sibling DEV_DEPS_DIR, and a dockerized
cargo clippy --workspace --all-targets --features fullthrough ci/build.sh all pass against a real breadsearch checkout. Cargo.lock verified fresh and every git.breadway.dev dependency is already tag-pinned.