feat: add optional line numbering to read_text_file tool #86
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: MCP Discovery | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| types: [opened, synchronize, reopened] | |
| workflow_call: | |
| inputs: | |
| version: | |
| required: true | |
| type: string | |
| permissions: | |
| contents: write | |
| jobs: | |
| update: | |
| if: startsWith(github.head_ref, 'release-please--branches--') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| ref: ${{ github.head_ref }} | |
| - name: Cache Rust | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.rustup/toolchains | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| key: ${{ runner.os }}-rust-${{ steps.toolchain.outputs.cachekey }} | |
| restore-keys: ${{ runner.os }}-rust- | |
| - name: Install Rust Toolchain | |
| uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: stable | |
| - name: Build | |
| run: | | |
| cargo build | |
| - uses: rust-mcp-stack/mcp-discovery-action@v1 | |
| with: | |
| version: "latest" | |
| command: "update" | |
| mcp-launch-command: "target/debug/rust-mcp-filesystem ." | |
| filename: "docs/capabilities.md" |