fix: resolve all lint and security issues from static analysis #8
ci.yml
on: push
Matrix: test
lint
27s
security
29s
build
Annotations
16 errors and 2 warnings
|
test (1.22)
Process completed with exit code 1.
|
|
test (1.22):
internal/ui/colors.go#L10
no required module provides package github.com/mattn/go-isatty; to add it:
|
|
test (1.22):
internal/ui/colors.go#L9
no required module provides package github.com/fatih/color; to add it:
|
|
test (1.22):
internal/ui/progress.go#L7
no required module provides package github.com/briandowns/spinner; to add it:
|
|
test (1.21)
The strategy configuration was canceled because "test._1_22" failed
|
|
test (1.21)
The operation was canceled.
|
|
lint:
cmd/config_test.go#L735
undefined: categoryTypography
|
|
lint:
cmd/config_test.go#L720
undefined: categoryMermaid
|
|
lint:
cmd/config_test.go#L719
undefined: categoryMetadata
|
|
lint:
cmd/config_test.go#L718
undefined: categoryPage
|
|
lint:
cmd/config_test.go#L717
undefined: categoryCode
|
|
lint:
cmd/config_test.go#L716
undefined: categoryTypography
|
|
lint:
cmd/config_test.go#L715
undefined: configCategory
|
|
lint:
cmd/config_test.go#L712
undefined: getKeysByCategory
|
|
lint:
cmd/config.go#L1
: # github.com/fredcamaral/md-to-pdf/cmd [github.com/fredcamaral/md-to-pdf/cmd.test]
|
|
lint:
internal/ui/colors.go#L46
undefined: isatty (typecheck)
|
|
lint
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0QMAoaQAAAAB5T5DMAPTtRo277S43OtJzUEhYMzFFREdFMDUyMABFZGdl
|
|
lint
Failed to restore: Cache service responded with 400
|