feat: support skywalking integration #17526
Workflow file for this run
This file contains 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.21.x | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
version: '3.6.1' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install dependencies | |
run: | | |
pip3 install ujson | |
GO111MODULE="off" go get github.com/gogo/protobuf/protoc-gen-gofast | |
GO111MODULE="off" go get github.com/gogo/protobuf/proto | |
GO111MODULE="off" go get github.com/gogo/protobuf/jsonpb | |
GO111MODULE="off" go get github.com/gogo/protobuf/protoc-gen-gogo | |
GO111MODULE="off" go get github.com/gogo/protobuf/gogoproto | |
GO111MODULE="off" go get 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 |