Skip to content

slog support + logr 1.3.0 update #6

slog support + logr 1.3.0 update

slog support + logr 1.3.0 update #6

Triggered via pull request October 26, 2023 18:45
@pohlypohly
synchronize #384
pohly:slog
Status Failure
Total duration 41s
Artifacts

lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
lint (.): contextual.go#L217
File is not `gofmt`-ed with `-s` (gofmt)
lint (.)
issues found
lint (examples)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint (examples)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint (examples)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint (.)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint (.)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint (.)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint (.): internal/sloghandler/sloghandler_slog.go#L32
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint (.): textlogger/textlogger_slog.go#L37
redefines-builtin-id: redefinition of the built-in function new (revive)
lint (.): textlogger/textlogger_slog.go#L43
redefines-builtin-id: redefinition of the built-in function new (revive)
lint (.): klogr_slog.go#L50
unused-parameter: parameter 'now' seems to be unused, consider removing or renaming it as _ (revive)
lint (.): klogr_slog.go#L81
redefines-builtin-id: redefinition of the built-in function new (revive)