Skip to content

Merge pull request #226 from blend-capital/pool_diff_hash #1

Merge pull request #226 from blend-capital/pool_diff_hash

Merge pull request #226 from blend-capital/pool_diff_hash #1

Workflow file for this run

name: pull_request
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
complete:
if: always()
needs: [fmt, build-and-test]
runs-on: ubuntu-latest
steps:
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup update
- run: cargo fmt --all --check
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- run: rustup update
- run: rustup target add wasm32-unknown-unknown
- run: cargo install --locked --version 20.0.1 soroban-cli --features opt
- run: make test