Skip to content

MP2381-Versioning-Dashboard #49

MP2381-Versioning-Dashboard

MP2381-Versioning-Dashboard #49

Triggered via pull request September 23, 2024 09:29
Status Failure
Total duration 49s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 14 warnings
lint: cmd/serve.go#L68
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
lint: cmd/serve.go#L96
File is not `gofumpt`-ed (gofumpt)
lint: cmd/serve.go#L103
the line is 134 characters long, which exceeds the maximum of 120 characters. (lll)
lint: cmd/serve.go#L35
import 'github.com/uniwise/parrot/internal/storage' is not allowed from list 'Main' (depguard)
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/storage/repository_s3.go#L125
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
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
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)
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/