Skip to content

Merge bitcoindevkit/coin-select#23: chore: bump to v0.3 #38

Merge bitcoindevkit/coin-select#23: chore: bump to v0.3

Merge bitcoindevkit/coin-select#23: chore: bump to v0.3 #38

Workflow file for this run

on:
push:
branches:
- master
pull_request:
# Make sure CI fails on all warnings, including Clippy lints
env:
RUSTFLAGS: "-Dwarnings"
RUSTDOCFLAGS: "-Dwarnings"
jobs:
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all -- --check
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --all-targets --all-features --tests
build-msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
# don't want dev-dependencies for MSRV check
- run: sed -i 's/\[dev-dependencies]/[ignore-this-warning-fren]/g' Cargo.toml
- run: cargo build --release
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --release
doc-build:
name: doc-build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo doc --no-deps