Skip to content

Support to change xfield in a block #475

Support to change xfield in a block

Support to change xfield in a block #475

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
feature: ["", "--features \"dump\""]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
- name: Cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Cargo build
uses: actions-rs/cargo@v1
with:
command: build
args: ${{ matrix.feature }} --release
- name: Cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --lib ${{ matrix.feature }} --release -v --no-fail-fast -- --nocapture --test
- name: Cargo test doc
uses: actions-rs/cargo@v1
with:
command: test
args: --doc ${{ matrix.feature }} --release -v --no-fail-fast -- --nocapture --test
- name: Cargo test tapyrus-signer
uses: actions-rs/cargo@v1
with:
command: test
args: --test tapyrus-signer ${{ matrix.feature }} --release -v --no-fail-fast -- --nocapture --test
- name: Cargo test bench
uses: actions-rs/cargo@v1
with:
command: test
args: --lib ${{ matrix.feature }} --release -v --no-fail-fast -- --nocapture --bench