Skip to content

feat(import): add progress bar for store import #1223

feat(import): add progress bar for store import

feat(import): add progress bar for store import #1223

Re-run triggered June 14, 2024 11:41
Status Failure
Total duration 4m 9s
Artifacts

main.yaml

on: pull_request
goreleaser
0s
goreleaser
binary-provenance  /  detect-env
binary-provenance / detect-env
image-provenance  /  detect-env
image-provenance / detect-env
binary-provenance  /  generator
binary-provenance / generator
image-provenance  /  generator
image-provenance / generator
binary-provenance  /  upload-assets
binary-provenance / upload-assets
image-provenance  /  final
image-provenance / final
binary-provenance  /  final
binary-provenance / final
verification-with-cosign
0s
verification-with-cosign
verification-with-slsa-verifier
0s
verification-with-slsa-verifier
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lints: cmd/store/import.go#L135
Error return value of `bar.Add` is not checked (errcheck)
Lints: cmd/store/import.go#L142
Error return value of `bar.Finish` is not checked (errcheck)
Lints: cmd/store/import.go#L40
calculated cyclomatic complexity for function importStore is 11, max is 10 (cyclop)
Lints: cmd/store/import.go#L28
import 'github.com/schollz/progressbar/v3' is not allowed from list 'main' (depguard)
Lints: cmd/store/import.go#L112
Magic number: 40, in <argument> detected (mnd)
Lints: cmd/store/import.go#L138
Magic number: 10, in <argument> detected (mnd)
Lints: cmd/store/import.go#L144
return with no blank line before (nlreturn)
Lints: cmd/store/import.go#L123
variable name 'i' is too short for the scope of its usage (varnamelen)
Lints: cmd/store/import.go#L196
error returned from external package is unwrapped: sig: func github.com/openfga/cli/internal/output.Display(data any) error (wrapcheck)
Lints: cmd/store/import.go#L131
only one cuddle assignment allowed before if statement (wsl)