feat: enhance contracts error handling and validation #51
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: Benchmark | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| benchmark: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: wasm32-unknown-unknown | |
| - name: Cache cargo | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Install system dependencies | |
| run: sudo apt-get update && sudo apt-get install -y libdbus-1-dev libudev-dev pkg-config | |
| - name: Install Soroban CLI | |
| run: cargo install --locked stellar-cli | |
| - name: Build Contract | |
| run: cargo build --target wasm32-unknown-unknown --release -p teachlink-contract | |
| - name: Run Benchmarks | |
| run: ./scripts/benchmark.sh |