Skip to content

[fea] service-center support the feature of manage environments (#1471) #3314

[fea] service-center support the feature of manage environments (#1471)

[fea] service-center support the feature of manage environments (#1471) #3314

Triggered via push May 31, 2024 10:24
Status Failure
Total duration 3m 8s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
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: datasource/etcd/path/key_generator.go#L390
var-naming: func parameter envId should be envID (revive)
lint: syncer/service/replicator/resource/environment.go#L46
var-naming: struct field envId should be envID (revive)
lint: datasource/mongo/ops.go#L78
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: datasource/mongo/ms.go#L1686
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: datasource/mongo/ms.go#L1690
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: server/resource/disco/environment_resource.go#L80
var-naming: var environmentId should be environmentID (revive)
lint: server/resource/disco/environment_resource.go#L106
var-naming: var environmentId should be environmentID (revive)
lint: datasource/etcd/ms.go#L1866
var-naming: var environmentId should be environmentID (revive)
lint: datasource/etcd/ms.go#L1888
var-naming: var environmentIdKey should be environmentIDKey (revive)