ci-remote-executor.yml 863 B

1234567891011121314151617181920212223242526272829
  1. name: Check Remote Executor
  2. on:
  3. pull_request:
  4. paths:
  5. - governance/remote_executor/**
  6. push:
  7. branches: [main]
  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.73.0
  18. components: rustfmt, clippy
  19. override: true
  20. - uses: Swatinem/rust-cache@v2
  21. with:
  22. workspaces: "governance/remote_executor -> target"
  23. - name: Install Solana
  24. run: |
  25. sh -c "$(curl -sSfL https://release.solana.com/v1.18.23/install)"
  26. echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
  27. - name: Run executor tests
  28. run: cargo test-sbf --manifest-path ./governance/remote_executor/Cargo.toml