Skip to content

Merge pull request #58 from dell/dependabot/go_modules/golang.org/x/n… #17

Merge pull request #58 from dell/dependabot/go_modules/golang.org/x/n…

Merge pull request #58 from dell/dependabot/go_modules/golang.org/x/n… #17

Triggered via push February 13, 2024 06:28
Status Failure
Total duration 42s
Artifacts

linters.yaml

on: push
golangci-lint
34s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 11 warnings
golangci-lint: api/api.go#L50
G101: Potential hardcoded credentials (gosec)
golangci-lint: api/api.go#L269
G402: TLS InsecureSkipVerify set true. (gosec)
golangci-lint: api/api.go#L278
G402: TLS MinVersion too low. (gosec)
golangci-lint
issues found
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/[email protected], 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/.
golangci-lint: api/api.go#L171
var-naming: don't use underscores in Go names; const Verbose_High should be VerboseHigh (revive)
golangci-lint: api/api.go#L172
var-naming: don't use underscores in Go names; const Verbose_Medium should be VerboseMedium (revive)
golangci-lint: api/api.go#L173
var-naming: don't use underscores in Go names; const Verbose_Low should be VerboseLow (revive)
golangci-lint: api/api.go#L630
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
golangci-lint: api/api.go#L653
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
golangci-lint: api/api.go#L672
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
golangci-lint: api/api.go#L675
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
golangci-lint: api/api.go#L682
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
golangci-lint: api/api.go#L683
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
golangci-lint: api/api.go#L721
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)