Release 0.6.0 #274
This file contains 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
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: [master] | |
name: Test Escrow and Turnstile | |
env: | |
SOLANA_CLI_VERSION: 1.18.12 | |
ANCHOR_VERSION: 0.29.0 | |
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 | |
test_turnstile: | |
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 Turnstile | |
working-directory: examples/integration-tests/turnstile | |
run: anchor build | |
- name: Test Turnstile | |
working-directory: examples/integration-tests/turnstile | |
run: cargo run --manifest-path ../../../Cargo.toml test |