pyth-crosschain/.github/workflows/remote-executor.yml

26 lines
759 B
YAML
Raw Normal View History

name: Check Remote Executor
on:
pull_request:
paths: [pythnet/remote-executor/**]
push:
branches: [main]
paths: [pythnet/remote-executor/**]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: rustfmt, clippy
- name: Install Solana
run: |
sh -c "$(curl -sSfL https://release.solana.com/stable/install)"
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
- name: Run executor tests
run: cargo test-bpf --manifest-path ./pythnet/remote-executor/Cargo.toml