Skip to content

[sdk/crypto/wif] minor edit in test #21

[sdk/crypto/wif] minor edit in test

[sdk/crypto/wif] minor edit in test #21

Workflow file for this run

name: CI Checks
on: [push, pull_request]
jobs:
test-units:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: wasm32-unknown-unknown
override: true
- uses: Swatinem/rust-cache@v2
- name: Install dependencies (Linux)
run: |
sh contrib/dependency_setup.sh
if: matrix.os == 'ubuntu-latest'
- name: Run test units
run: |
make test
- name: Compile all bins
run: |
make
feature-powerset:
name: Test crate feature powerset on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: wasm32-unknown-unknown
override: true
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
- name: Install dependencies (Linux)
run: |
sh contrib/dependency_setup.sh
if: matrix.os == 'ubuntu-latest'
- name: Run feature powerset builds
run: |
make check
fmt:
name: rustfmt
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rustfmt
override: true
- run: |
cargo fmt -- --check