Skip to content

feat: One stop RPC/HTTP call technology solution #274

feat: One stop RPC/HTTP call technology solution

feat: One stop RPC/HTTP call technology solution #274

Triggered via pull request December 11, 2023 04:38
Status Failure
Total duration 2m 4s
Artifacts

pr-check.yml

on: pull_request
Matrix: lint module
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint module (./platform/server): platform/server/cmd/api/internal/biz/router/token/token.go#L1
: # github.com/cloudwego/cwgo/platform/server/cmd/api/internal/biz/router/token
lint module (./platform/server): platform/server/cmd/api/internal/biz/router/register.go#L27
could not import github.com/cloudwego/cwgo/platform/server/cmd/api/internal/biz/router/token (-: # github.com/cloudwego/cwgo/platform/server/cmd/api/internal/biz/router/token
lint module (./platform/server): platform/server/shared/utils/id.go#L34
type `serviceId` is unused (unused)
lint module (./platform/server): platform/server/shared/utils/id.go#L35
type `taskId` is unused (unused)
lint module (./platform/server): platform/server/cmd/agent/pkg/processor/cron.go#L153
S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
lint module (./platform/server): platform/server/cmd/agent/pkg/processor/cron.go#L181
S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
resolve module
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/