Skip to content

Vec 189 tls

Vec 189 tls #10

Triggered via pull request July 3, 2024 16:08
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#L96
equalFold: consider replacing with strings.EqualFold(confirm, "y") (gocritic)
lint: cmd/utils.go#L79
ifElseChain: rewrite if-else to switch statement (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#L36
assignments should only be cuddled with other assignments (wsl)
lint: cmd/utils.go#L37
only one cuddle assignment allowed before if statement (wsl)
lint: cmd/utils.go#L41
expressions should not be cuddled with blocks (wsl)
lint: cmd/utils.go#L42
assignments should only be cuddled with other assignments (wsl)
lint: cmd/utils.go#L30
if statements should only be cuddled with assignments used in the if statement itself (wsl)
lint: cmd/utils.go#L96
equalFold: consider replacing with strings.EqualFold(confirm, "y") (gocritic)
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/