Skip to content

fix: rare failing case in multisig #58

fix: rare failing case in multisig

fix: rare failing case in multisig #58

Workflow file for this run

name: CI
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -D warnings
RUST_BACKTRACE: full
jobs:
rustfmt:
name: Checks / Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.67.1
override: true
components: rustfmt
- run: cargo fmt --all -- --check
clippy:
name: Checks / Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.67.1
override: true
components: clippy
- run: |
make all-via-docker
cargo clippy --all --all-targets --all-features
docco:
name: Check / Docco
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- run: |
npm config set strict-ssl false
npm ci --prefix .npm
.npm/node_modules/docco/bin/docco c/secp256k1_blake160_sighash_all.c c/secp256k1_blake160_multisig_all.c c/dao.c
git diff --exit-code
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.67.1
override: true
- run: |
make all-via-docker
cargo test --all --verbose