Skip to content

session renewal support for both json and html #11

session renewal support for both json and html

session renewal support for both json and html #11

Triggered via pull request February 8, 2024 13:55
Status Failure
Total duration 41s
Artifacts

linters.yaml

on: pull_request
golangci-lint
29s
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#L655
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
golangci-lint: api/api.go#L674
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
golangci-lint: api/api.go#L677
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
golangci-lint: api/api.go#L684
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
golangci-lint: api/api.go#L685
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
golangci-lint: api/api.go#L723
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
golangci-lint: api/api.go#L733
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)