Skip to content

ci: consolidate rbmt version configuration and align local workflows - #1049

Open
ANAMASGARD wants to merge 2 commits into
rust-bitcoin:masterfrom
ANAMASGARD:ci/945-rbmt-integration
Open

ANAMASGARD wants to merge 2 commits into
rust-bitcoin:masterfrom
ANAMASGARD:ci/945-rbmt-integration

Conversation

@ANAMASGARD

Copy link
Copy Markdown

Closes #945

  • Moved the cargo-rbmt version pin into Cargo.toml so rbmt can check that the installed version matches the repository’s configuration. Update CI installation and weekly automation to read this pin, then remove rbmt-version.

  • Route local formatting, docs and benchmarks through rbmt to use the same pinned toolchain and defaults as CI. Keep the existing lockfile helper because rbmt’s lock command changes dependency-resolution behavior.

  • Validated formatting, docs, benchmark compilation, workflow syntax and updater behavior.

Use Cargo metadata as the version source for installation and weekly updates, enabling rbmt's runtime version check.

Generated with assistance from OpenAI Codex.

Assisted-by: GPT-6 Astra
Signed-off-by: Gaurav Chaudhary <chaudharygaurav2004@gmail.com>
Use the pinned formatter and CI defaults for docs and benchmarks. Preserve the benchmark filter and conservative lockfile helper.

Signed-off-by: Gaurav Chaudhary <chaudharygaurav2004@gmail.com>
@apoelstra

Copy link
Copy Markdown
Member

Can we please copy/paste the approach used in rust-bitcoin/rust-bitcoin#6547?

It's more compact (using grep rather than sed) but more importantly, I don't want a proliferation of different LLM-generated hacks to parse Cargo.toml. Let's stick with one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Further improve cargo-rbmt usage

2 participants