Skip to content
Open
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
6 changes: 4 additions & 2 deletions .github/workflows/cont_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,15 @@ jobs:
uses: actions/checkout@v7
with:
persist-credentials: false
# This action automatically reads and applies rust-toolchain.toml
# Pin nightly for rustfmt — rustfmt.toml uses nightly-only options
- name: Install Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2026-08-01
components: rustfmt
cache: true
- name: Check fmt
run: cargo fmt --all --check
run: cargo +nightly-2026-08-01 fmt --all --check

clippy_check:
name: Rust clippy
Expand Down
6 changes: 3 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ build:

# Check formatting, compilation, linting
_check:
cargo +nightly fmt --all -- --check
cargo +nightly-2026-08-01 fmt --all -- --check
RUSTFLAGS="" cargo check --all-targets --no-default-features --features miniscript/no-std,bdk_chain/hashbrown
RUSTFLAGS="" cargo check --all-targets --features {{FEATURES}}
RUSTFLAGS="-D warnings" cargo clippy --all-targets --features {{FEATURES}}

# Check formatting, compilation, linting of the unstable API surface
_check-unstable:
cargo +nightly fmt --all -- --check
cargo +nightly-2026-08-01 fmt --all -- --check
RUSTFLAGS="--cfg bdk_wallet_unstable" cargo check --all-targets --no-default-features --features miniscript/no-std,bdk_chain/hashbrown
RUSTFLAGS="--cfg bdk_wallet_unstable" cargo check --all-targets --all-features
RUSTFLAGS="--cfg bdk_wallet_unstable -D warnings" cargo clippy --all-targets --all-features
Expand All @@ -39,7 +39,7 @@ check: _check _check-unstable

# Format all code
fmt:
cargo +nightly fmt
cargo +nightly-2026-08-01 fmt

# Run tests on the stable API surface
_test:
Expand Down