Merge pull request #2451 from pyth-network/devin/1741291580-add-trade… #269
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 Hermes Server | |
| on: | |
| pull_request: | |
| paths: | |
| - apps/hermes/server/** | |
| push: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: "apps/hermes/server -> target" | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| profile: minimal | |
| toolchain: 1.82.0 | |
| components: rustfmt, clippy | |
| override: true | |
| - name: Install protoc | |
| uses: arduino/setup-protoc@v3 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run executor tests | |
| run: cargo test --manifest-path ./apps/hermes/server/Cargo.toml |