Migrate in leighmcculloch/mcp-stellar-xdr #2
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: CI | |
| 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: deno run --allow-read mcp-stellar-xdr.ts | |
| - name: Test MCP tools | |
| run: | | |
| # Test types tool | |
| echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "types"}}' | deno run --allow-read mcp-stellar-xdr.ts | |
| # Test guess tool with sample XDR | |
| echo '{"jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": {"name": "guess", "arguments": {"xdr": "AAAAAgAAAAA="}}}' | deno run --allow-read mcp-stellar-xdr.ts |