Skip to content

MP2381-Versioning-Dashboard #48

MP2381-Versioning-Dashboard

MP2381-Versioning-Dashboard #48

Triggered via pull request September 23, 2024 08:56
Status Failure
Total duration 3m 40s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 14 warnings
lint: internal/storage/service_test.go#L63
63-86 lines are duplicate of `internal/storage/service_test.go:88-111` (dupl)
lint: internal/storage/service_test.go#L88
88-111 lines are duplicate of `internal/storage/service_test.go:63-86` (dupl)
lint: internal/storage/repository.go#L11
11-41 lines are duplicate of `internal/storage/repository_s3_test.go:16-22` (dupl)
lint: internal/storage/repository_s3_test.go#L16
16-22 lines are duplicate of `internal/storage/repository.go:11-41` (dupl)
lint: internal/storage/repository_s3_test.go#L295
Function 'TestDeleteObjects' is too long (64 > 60) (funlen)
lint: internal/project/service_test.go#L39
Function 'TestServiceGetAllProjects' is too long (78 > 60) (funlen)
lint: internal/project/service_test.go#L120
Function 'TestServiceGetProjectById' is too long (86 > 60) (funlen)
lint: internal/project/service_test.go#L271
Function 'TestServiceCreateLanguagesVersion' is too long (114 > 60) (funlen)
lint: internal/rest/v1/project_test.go#L294
Function 'TestPostProjectVersion' is too long (75 > 60) (funlen)
lint: internal/storage/repository_s3.go#L125
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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 following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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: internal/storage/service.go#L21
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: internal/storage/repository_s3.go#L67
receiver-naming: receiver name s should be consistent with previous receiver name c for S3ClientImpl (revive)
lint: internal/storage/repository_s3.go#L109
receiver-naming: receiver name s should be consistent with previous receiver name c for S3ClientImpl (revive)
lint: internal/storage/repository_s3.go#L123
receiver-naming: receiver name s should be consistent with previous receiver name c for S3ClientImpl (revive)
lint: internal/storage/repository_s3_test.go#L70
unused-parameter: parameter '_optFns' seems to be unused, consider removing or renaming it as _ (revive)
lint: internal/storage/repository_s3_test.go#L93
unused-parameter: parameter '_optFns' seems to be unused, consider removing or renaming it as _ (revive)
lint: internal/storage/repository_s3_test.go#L129
unused-parameter: parameter '_optFns' seems to be unused, consider removing or renaming it as _ (revive)
lint: internal/storage/repository_s3_test.go#L59
var-declaration: should omit type string from declaration of var bucket; it will be inferred from the right-hand side (revive)
lint: internal/storage/repository_s3_test.go#L60
var-declaration: should omit type string from declaration of var region; it will be inferred from the right-hand side (revive)