Skip to content

openapi generator pingchat #1028

openapi generator pingchat

openapi generator pingchat #1028

Triggered via pull request September 8, 2024 14:01
Status Failure
Total duration 4m 37s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: internal/service/cloud/api_client.go#L1
: # tidbcloud-cli/internal/service/cloud
lint: internal/service/cloud/api_client.go#L293
d.pc.DefaultAPI undefined (type *pingchat.APIClient has no field or method DefaultAPI) (typecheck)
lint: internal/service/aws/s3/uploader.go#L28
could not import tidbcloud-cli/internal/service/cloud (-: # tidbcloud-cli/internal/service/cloud
lint: internal/service/cloud/api_client.go#L293
d.pc.DefaultAPI undefined (type *pingchat.APIClient has no field or method DefaultAPI)) (typecheck)
lint: internal/helper.go#L20
could not import tidbcloud-cli/internal/service/cloud (-: # tidbcloud-cli/internal/service/cloud
lint: internal/service/cloud/api_client.go#L293
d.pc.DefaultAPI undefined (type *pingchat.APIClient has no field or method DefaultAPI)) (typecheck)
lint: internal/cli/auth/whoami.go#L28
could not import tidbcloud-cli/internal/service/cloud (-: # tidbcloud-cli/internal/service/cloud
lint: internal/service/cloud/api_client.go#L293
d.pc.DefaultAPI undefined (type *pingchat.APIClient has no field or method DefaultAPI)) (typecheck)
lint: internal/cli/root_test.go#L18
"bytes" imported and not used (typecheck)
lint: internal/cli/ai/ai.go#L110
cannot use role (variable of type string) as pingchat.PingchatChatMessageRole value in struct literal (typecheck)
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/