Skip to content

feat: expanded tx byte encoding/decoding, rpc progress, error handling #63

feat: expanded tx byte encoding/decoding, rpc progress, error handling

feat: expanded tx byte encoding/decoding, rpc progress, error handling #63

Workflow file for this run

name: Rust
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-D warnings" # Treats warnings as errors
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Add WASM target
run: rustup target add wasm32-unknown-unknown
# - name: Setup Emscripten
# uses: mymindstorm/setup-emsdk@v14
# with:
# version: latest
# actions-cache-folder: "emsdk-cache"
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Check formatting
run: make fmt
# - name: Lint
# run: cargo clippy -- -D warnings
- name: Build
run: make
- name: Run tests
run: make test