Skip to content

Vec 189 tls

Vec 189 tls #9

Triggered via pull request July 2, 2024 22:11
Status Failure
Total duration 23s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: cmd/utils.go#L190
equalFold: consider replacing with strings.EqualFold(confirm, "y") (gocritic)
lint: cmd/utils.go#L173
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: cmd/utils.go#L61
paramTypeCombine: func(rootCA [][]byte, cert []byte, key []byte, keyPass []byte, tlsProtoMin int, tlsProtoMax int) (*tls.Config, error) could be replaced with func(rootCA [][]byte, cert, key, keyPass []byte, tlsProtoMin, tlsProtoMax int) (*tls.Config, error) (gocritic)
lint: cmd/flags/constants.go#L32
G101: Potential hardcoded credentials (gosec)
lint: cmd/flags/tls.go#L11
fieldalignment: struct with 112 pointer bytes could be 104 (govet)
lint: cmd/utils.go#L40
only one cuddle assignment allowed before if statement (wsl)
lint: cmd/utils.go#L44
expressions should not be cuddled with blocks (wsl)
lint: cmd/utils.go#L45
assignments should only be cuddled with other assignments (wsl)
lint: cmd/utils.go#L33
if statements should only be cuddled with assignments used in the if statement itself (wsl)
lint: cmd/utils.go#L39
assignments should only be cuddled with other assignments (wsl)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.