Migrate in leighmcculloch/mcp-stellar-xdr #1
Workflow file for this run
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: Build and Test | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| jobs: | |
| format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: denoland/setup-deno@e95548e56dfa95d4e1a28d6f422fafe75c4c26fb # v2.0.3 | |
| - run: deno fmt --check | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: denoland/setup-deno@e95548e56dfa95d4e1a28d6f422fafe75c4c26fb # v2.0.3 | |
| - run: deno lint | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: denoland/setup-deno@e95548e56dfa95d4e1a28d6f422fafe75c4c26fb # v2.0.3 | |
| - run: deno check mcp-stellar-xdr.ts | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: denoland/setup-deno@e95548e56dfa95d4e1a28d6f422fafe75c4c26fb # v2.0.3 | |
| - name: Test MCP server startup | |
| run: timeout 5s deno run --allow-read mcp-stellar-xdr.ts < /dev/null || true | |
| - name: Test MCP tools | |
| run: | | |
| # Test types tool | |
| echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "types"}}' | timeout 5s deno run --allow-read mcp-stellar-xdr.ts | head -1 | |
| # Test guess tool with sample XDR | |
| echo '{"jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": {"name": "guess", "arguments": {"xdr": "AAAAAgAAAAA="}}}' | timeout 5s deno run --allow-read mcp-stellar-xdr.ts | head -1 |