fix(deps): update module github.com/mark3labs/mcp-go to v0.50.0 #224
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: Test | |
| on: | |
| pull_request: | |
| branches: [ main, master ] | |
| push: | |
| branches: [ main, master ] | |
| jobs: | |
| test: | |
| name: Run Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.25' | |
| - name: Install dependencies | |
| run: go mod download | |
| - name: Run tests | |
| shell: bash | |
| run: | | |
| go test -v ./cmd/... ./pkg/... | |
| - name: Run tests with race detection | |
| shell: bash | |
| run: | | |
| go test -race -v ./cmd/... ./pkg/... | |
| - name: Check code formatting | |
| shell: bash | |
| run: | | |
| if [ "$(gofmt -l . | wc -l)" -gt 0 ]; then | |
| echo "The following files are not formatted correctly:" | |
| gofmt -l . | |
| exit 1 | |
| fi | |
| - name: Build application | |
| shell: bash | |
| run: | | |
| go build -o mcpshell . | |
| - name: Validate example configurations | |
| shell: bash | |
| run: | | |
| echo "Validating example YAML configurations..." | |
| find examples -name "*.yaml" -type f | while read file; do | |
| echo "Validating $file..." | |
| ./mcpshell validate --tools "$file" || exit 1 | |
| done | |
| echo "All example configurations validated successfully" | |
| - name: Run end-to-end tests | |
| shell: bash | |
| run: | | |
| make test-e2e | |
| - name: Run linters | |
| uses: golangci/golangci-lint-action@v8 | |
| with: | |
| version: latest | |
| args: --timeout=5m |