Skip to content

Parsing Anchor IDL instead of creating our own #420

Parsing Anchor IDL instead of creating our own

Parsing Anchor IDL instead of creating our own #420

Workflow file for this run

on:
workflow_dispatch:
pull_request:
name: Test Escrow
env:
SOLANA_CLI_VERSION: 1.18.18
ANCHOR_VERSION: 0.30.1
jobs:
test_escrow:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-rust/
- uses: ./.github/actions/setup-solana/
- uses: ./.github/actions/setup-anchor/
id: rust-setup
- uses: Swatinem/rust-cache@v2
name: Cache Rust and it's packages
- name: Build Escrow
working-directory: examples/integration-tests/escrow
run: anchor build
- name: Test Escrow
working-directory: examples/integration-tests/escrow
run: cargo run --manifest-path ../../../Cargo.toml test