Skip to content

feat: 规则分类重构 #3491

feat: 规则分类重构

feat: 规则分类重构 #3491

Triggered via pull request December 25, 2024 06:52
Status Failure
Total duration 1m 35s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 4 warnings
lint: sqle/api/controller/v1/rule.go#L572
previous case (typecheck)
lint: sqle/pkg/scanner/client.go#L359
resp.Code undefined (type *GetProjectListResp has no field or method Code) (typecheck)
lint: sqle/pkg/scanner/client.go#L360
resp.Message undefined (type *GetProjectListResp has no field or method Message) (typecheck)
lint: sqle/model/rule.go#L96
undeclared name: `AuditRuleCategory` (typecheck)
lint: sqle/model/rule.go#L594
undeclared name: `AuditRuleCategory` (typecheck)
lint: sqle/model/rule.go#L359
undeclared name: `AuditRuleCategory` (typecheck)
lint: sqle/model/utils.go#L136
undeclared name: `AuditRuleCategoryRel` (typecheck)
lint: sqle/model/utils.go#L137
undeclared name: `CustomRuleCategoryRel` (typecheck)
lint: sqle/model/rule.go#L641
undeclared name: `CustomRuleCategoryRel` (typecheck)
lint: sqle/model/rule.go#L651
undeclared name: `CustomRuleCategoryRel` (typecheck)
test
undefined: AuditRuleCategory
test
undefined: AuditRuleCategory
test
undefined: AuditRuleCategory
test
undefined: CustomRuleCategoryRel
test
undefined: AuditRuleCategory
test
undefined: AuditRuleCategory
test
undefined: CustomRuleCategoryRel
test
undefined: AuditRuleCategory
test
undefined: AuditRuleCategoryRel
test
undefined: CustomRuleCategoryRel
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
The `save-state` 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/
lint
The `save-state` 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/
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636