Skip to content

Field name changes in MpnDeposit/MpnWithdraw #1483

Field name changes in MpnDeposit/MpnWithdraw

Field name changes in MpnDeposit/MpnWithdraw #1483

Workflow file for this run

name: Bazuka
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Build binary
run: cargo build --release
- name: Archive binary artifacts
uses: actions/upload-artifact@v3
with:
name: bin-x86_64-unknown-linux-gnu
path: ./target/release/bazuka
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Check fmt
run: cargo fmt --check
- name: Check clippy
run: cargo clippy
- name: Run tests
run: cargo test --release
reports:
name: coverage
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:latest
options: --security-opt seccomp=unconfined
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install requirements
run: |
apt update -y
apt install -y libssl-dev cmake
- name: Generate code coverage
run: |
cargo tarpaulin --verbose --all-features --workspace --timeout 600 --out Xml --release
- name: Upload to codecov.io
uses: codecov/codecov-action@v2