Skip to content

psbt: Add "fee" field accessor #42

psbt: Add "fee" field accessor

psbt: Add "fee" field accessor #42

Workflow file for this run

name: Tests
on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master ]
jobs:
Test:
runs-on: ubuntu-22.04
env:
CARGO_TERM_COLOR: always
steps:
- name: πŸ“₯ Checkout
uses: actions/checkout@v4
- name: πŸ—„οΈ Cache
uses: actions/cache@v4
with:
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
path: |
~/.cargo/registry
~/.cargo/git
target
- name: πŸ› Check for errors
run: cargo check --all-features
- name: 🧹 Check formatting
run: cargo fmt -- --check
- name: πŸ“Ž Check with Clippy
run: cargo clippy --all-targets --all-features
- name: πŸ”¨ Build
run: cargo build --release
- name: πŸ§ͺ Run tests
run: MINSC_EXE=target/release/minsc ./tests/test.sh
- name: πŸ“– Run examples
run: MINSC_EXE=target/release/minsc ./tests/test.sh examples
- name: πŸ“¦ Prepare artifacts
run: strip target/release/minsc
- name: πŸ“€οΈ Upload artifacts
uses: actions/upload-artifact@v4
with:
name: minsc
path: target/release/minsc