remote-executor.yml 788 B

1234567891011121314151617181920212223242526
  1. name: Check Remote Executor
  2. on:
  3. pull_request:
  4. paths: [governance/remote_executor/**]
  5. push:
  6. branches: [main]
  7. paths: [governance/remote_executor/**]
  8. jobs:
  9. test:
  10. runs-on: ubuntu-latest
  11. steps:
  12. - uses: actions/checkout@v2
  13. - uses: actions/setup-python@v2
  14. - uses: actions-rs/toolchain@v1
  15. with:
  16. profile: minimal
  17. toolchain: 1.66.1
  18. components: rustfmt, clippy
  19. override: true
  20. - name: Install Solana
  21. run: |
  22. sh -c "$(curl -sSfL https://release.solana.com/v1.14.18/install)"
  23. echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
  24. - name: Run executor tests
  25. run: cargo test-bpf --manifest-path ./governance/remote_executor/Cargo.toml