Audit serialization trait implementations #562
Workflow file for this run
This file contains hidden or 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: 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 |