support inject trace id and add verbose option #98
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: Run go tests | |
| on: | |
| pull_request: | |
| paths: | |
| - '**.go' | |
| push: | |
| branches: | |
| - main | |
| - master | |
| tags-ignore: | |
| - '**' | |
| paths: | |
| - '**.go' | |
| concurrency: | |
| group: mcp-go-test | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Run tests | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: "go.mod" | |
| id: go | |
| - name: Run tests | |
| run: go test -race -v ./... |