Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions .github/actions/setup-rbmt/action.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
name: Setup cargo-rbmt
description: Install cargo-rbmt

inputs:
rbmt-version:
description:
"Which version of `cargo-rbmt` to install (e.g.: 0.3.0, v0.3.0, cargo-rbmt-0.3.0 or cargo-rbmt-v0.3.0).
If not provided, reads from `rbmt-version` in the repository root."
required: false
description: Install cargo-rbmt from crates.io

runs:
using: "composite"

steps:
- name: Install cargo-rbmt
shell: bash
run: bash contrib/install-cargo-rbmt.sh
run: cargo install cargo-rbmt --version "$(cat rbmt-version)" --locked

- name: Install Rust Toolchains
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ jobs:
uses: ./.github/actions/setup-rbmt

- name: Run Tests
run: cargo rbmt test --toolchain ${{ matrix.toolchain }} --lock-file ${{ matrix.lockfile }}
run: cargo rbmt test --toolchain ${{ matrix.toolchain }} --lockfile ${{ matrix.lockfile }}
9 changes: 4 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ use_self = "deny"
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[package.metadata.rbmt.toolchains]
stable = "1.96.0"
nightly = "nightly-2026-06-23"

# Allow packages of different versions in the dependency tree
[package.metadata.rbmt.lint]
allowed_duplicates = [
Expand All @@ -75,7 +79,6 @@ allowed_duplicates = [
"rand", # blame: floresta-wire@v0.5.0 -> bip324@v0.10.0 -> rand@v0.8.6 (v0.8) vs floresta-wire@v0.5.0 -> rand@v0.9.4 (v0.9)
"rand_core", # blame: floresta-wire@v0.5.0 -> bip324@v0.10.0 -> rand@v0.8.6 -> rand_core@v0.6.4 (v0.6) vs floresta-wire@v0.5.0 -> rand@v0.9.4 -> rand_core@v0.9.5 (v0.9)
"rand_chacha", # blame: floresta-wire@v0.5.0 -> bip324@v0.10.0 -> rand@v0.8.6 -> rand_chacha@v0.3.1 (v0.3) vs floresta-wire@v0.5.0 -> rand@v0.9.4 -> rand_chacha@v0.9.0 (v0.9)
"serde_core",
"windows-sys", # blame: floresta-wire@v0.5.0 -> ring@v0.17.14 (v0.52), dns-lookup@v2.1.1 (v0.60), tokio@v1.52.3 (v0.61)
"windows-targets", # blame: cascades from windows-sys versions above
"windows_aarch64_gnullvm", # blame: cascades from windows-targets versions above
Expand All @@ -87,7 +90,3 @@ allowed_duplicates = [
"windows_x86_64_gnullvm", # blame: cascades from windows-targets versions above
"windows_x86_64_msvc", # blame: cascades from windows-targets versions above
]

[package.metadata.rbmt.toolchains]
stable = "1.95.0"
nightly = "nightly-2026-05-17"
22 changes: 0 additions & 22 deletions contrib/install-cargo-rbmt.sh

This file was deleted.

8 changes: 4 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ check:

[doc: "Check that all feature combinations compile"]
check-features:
RBMT_LOG_LEVEL=verbose cargo rbmt test --toolchain stable --lock-file recent
RBMT_LOG_LEVEL=verbose cargo rbmt test --toolchain stable --lockfile recent

[doc: "Check if commits are PGP-signed"]
check-commit-signatures:
Expand Down Expand Up @@ -72,9 +72,9 @@ lock:

[doc: "Run tests with relevant toolchain and lockfile combinations"]
test:
RBMT_LOG_LEVEL=verbose cargo rbmt test --toolchain stable --lock-file recent
RBMT_LOG_LEVEL=verbose cargo rbmt test --toolchain stable --lock-file minimal
RBMT_LOG_LEVEL=verbose cargo rbmt test --toolchain msrv --lock-file minimal
RBMT_LOG_LEVEL=verbose cargo rbmt test --toolchain stable --lockfile recent
RBMT_LOG_LEVEL=verbose cargo rbmt test --toolchain stable --lockfile minimal
RBMT_LOG_LEVEL=verbose cargo rbmt test --toolchain msrv --lockfile minimal

[doc: "Install and/or Update `cargo-rbmt` and Stable and Nightly toolchains"]
toolchains:
Expand Down
2 changes: 1 addition & 1 deletion rbmt-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.0
0.4.0
Loading