Add support to tapyrus-setup sign and createsig commands to sign xfield #472
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |