Skip to content

fix: Avoid inserting block rows of duplicate heights #7

fix: Avoid inserting block rows of duplicate heights

fix: Avoid inserting block rows of duplicate heights #7

Workflow file for this run

name: CI
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- 1.85.0 # MSRV
- stable
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
cache: true
- name: Check features
run: |
cargo check --no-default-features
cargo check --no-default-features --features wallet
- name: Build
run: cargo build
- name: Test
run: cargo test --no-fail-fast
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
cache: true
- name: Rustfmt
run: cargo fmt --all --check
- name: Lint
run: cargo clippy --all-targets --all-features -- -D warnings