Skip to content

BG suite multierror support #660

BG suite multierror support

BG suite multierror support #660

Triggered via pull request September 28, 2024 11:05
Status Failure
Total duration 20s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
lint: pkg/provisioning/bootguard/bootguard.go#L1
: # github.com/9elements/converged-security-suite/v2/pkg/provisioning/bootguard
lint: pkg/provisioning/bootguard/bootguard.go#L313
expected ';', found '{' (typecheck)
lint: pkg/test/bootguard_tests.go#L7
could not import github.com/9elements/converged-security-suite/v2/pkg/provisioning/bootguard (-: # github.com/9elements/converged-security-suite/v2/pkg/provisioning/bootguard
lint
issues found
commitlint
You have commit messages with errors ⧗ input: cmd/bg-suite: print file name on read error Signed-off-by: Daniel Maslowski <info@orangecms.org> ✖ subject may not be empty [subject-empty] ✖ type may not be empty [type-empty] ✖ found 2 problems, 0 warnings ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint ⧗ input: pkg/test: print test error and internal error separately Signed-off-by: Daniel Maslowski <info@orangecms.org> ✖ subject may not be empty [subject-empty] ✖ type may not be empty [type-empty] ✖ found 2 problems, 0 warnings ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint ⧗ input: BootGuard: add multierror output This uses go.uber.org/multierr. Also reword many error messages to make them consistent: - capitalize BootGuard, Key Manifest and Boot Policy Manifest - spell out Key Manifest and Boot Policy Manifest - uppercase acronyms such as DMA etc Signed-off-by: Daniel Maslowski <info@orangecms.org> ✖ type must be lower-case [type-case] ✖ type must be one of [build, chore, ci, docs, feat, fix, refactor, revert, test] [type-enum] ✖ found 2 problems, 0 warnings ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint