feat(contract-manager): add EVM Pyth Pro cutover tooling (#4008) #1452
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: Check Remote Executor | |
| on: | |
| pull_request: | |
| paths: | |
| - .github/workflows/ci-remote-executor.yml | |
| - governance/remote_executor/** | |
| push: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: governance/remote_executor | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-python@v2 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| cache-workspaces: "governance/remote_executor -> target" | |
| - name: Install Solana | |
| run: | | |
| sh -c "$(curl -sSfL https://release.anza.xyz/v1.18.23/install)" | |
| echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH | |
| - name: Format check | |
| run: cargo fmt --all -- --check | |
| if: success() || failure() | |
| - name: Clippy check | |
| run: cargo clippy --locked --all-targets -- --deny warnings | |
| if: success() || failure() | |
| - name: Run executor tests | |
| # No --locked: cargo-test-sbf rejects it as an option and routes | |
| # anything after `--` to the test binary rather than to cargo. | |
| run: cargo test-sbf | |
| if: success() || failure() |