feat: tagrecorder add log #22945
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 |