{mcp} Improve MCP Proxy OAuth Token Refresh Reliability and Profile R… #1866
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: Go | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| environment: CI | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.23" | |
| - name: Unit Test | |
| run: make test | |
| - name: Upload coverage infomartion | |
| uses: codecov/codecov-action@v4 | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| - name: Smoking Test | |
| run: go run ./main/main.go | |
| - run: | | |
| make build | |
| make install | |
| bash ./integration/vpc_test.sh | |
| bash ./integration/oss_test.sh | |
| bash ./integration/https_proxy.sh | |
| if: env.ACCESS_KEY_ID != '' && env.ACCESS_KEY_SECRET != '' && matrix.os != 'windows-latest' | |
| env: | |
| ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }} | |
| ACCESS_KEY_SECRET: ${{ secrets.ACCESS_KEY_SECRET }} | |
| REGION_ID: ${{ secrets.REGION_ID }} |