feat: support host/pod in biz service #22139
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: verify server | |
| on: | |
| pull_request: | |
| paths: | |
| - 'server/**' | |
| - 'message/**' | |
| jobs: | |
| verify_server: | |
| name: verify server | |
| runs-on: "cirun-aws-amd64-32c--${{ github.run_id }}" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@master | |
| with: | |
| go-version: 1.24.x | |
| - name: Set up GOPATH env | |
| run: echo "GOPATH=$(go env GOPATH)" >> "$GITHUB_ENV" | |
| - name: Install Protoc | |
| uses: arduino/setup-protoc@v1 | |
| with: | |
| version: '3.6.1' | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Checkout github.com/gogo/protobuf | |
| uses: actions/checkout@v3 | |
| with: | |
| repository: 'gogo/protobuf' | |
| path: "protobuf" | |
| ref: 'v1.3.2' | |
| fetch-depth: 1 | |
| - name: Move github.com/gogo/protobuf to $GOPATH/src | |
| run: | | |
| mkdir -p "${{ env.GOPATH }}/src/github.com/gogo" | |
| mv protobuf "${{ env.GOPATH }}/src/github.com/gogo/protobuf" | |
| - name: Install dependencies | |
| run: | | |
| pip3 install ujson | |
| cd server | |
| go install github.com/gogo/protobuf/protoc-gen-gofast | |
| go install github.com/gogo/protobuf/proto | |
| go install github.com/gogo/protobuf/jsonpb | |
| go install github.com/gogo/protobuf/protoc-gen-gogo | |
| go install github.com/gogo/protobuf/gogoproto | |
| go install github.com/golang/protobuf/protoc-gen-go | |
| - name: verify server | |
| run: | | |
| cd server | |
| touch vendor | |
| make clean | |
| go mod tidy | |
| go fmt ./... | |
| git diff | |
| go fmt ./...; [[ -z $(git status -s --ignore-submodule) ]] || exit -1 | |
| make | |
| cd querier/engine/clickhouse | |
| go test |