Skip to content

Audit serialization trait implementations #562

Audit serialization trait implementations

Audit serialization trait implementations #562

Workflow file for this run

name: Build and Test Dart
on:
pull_request:
paths:
- payjoin-ffi/**
env:
# Override the value from the rust-toolchain file
# This is necessary because even though the correct toolchain
# is explicitly specified for the rust-toolchain action,
# rustup honors the rust-toolchain file over the default
RUSTUP_TOOLCHAIN: 1.85
jobs:
build-dart-and-test:
name: "Build and test dart"
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: payjoin-ffi/dart
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: "Install Rust 1.85.0"
uses: dtolnay/[email protected]
- name: Install Dart
uses: dart-lang/setup-dart@v1
with:
sdk: stable
- name: "Use cache"
uses: Swatinem/rust-cache@v2
- name: Generate bindings and binaries
run: bash ./scripts/generate_bindings.sh
- name: Run tests
run: dart test