Skip to content

Logging2

Logging2 #164

Triggered via pull request August 26, 2024 15:01
Status Failure
Total duration 4m 2s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
lint: properties/properties.go#L228
Error return value of `p.LoadFile` is not checked (errcheck)
lint: net/net.go#L42
printf: non-constant format string in call to fmt.Errorf (govet)
lint: net/net.go#L56
printf: non-constant format string in call to fmt.Errorf (govet)
lint: console/test_results.go#L140
printf: non-constant format string in call to (*github.com/flanksource/commons/console.TestResults).Passf (govet)
lint: logger/slog.go#L218
printf: non-constant format string in call to (github.com/flanksource/commons/logger.SlogLogger).Debugf (govet)
lint: logger/slog.go#L251
printf: non-constant format string in call to fmt.Sprintf (govet)
lint: logger/default.go#L48
SA6000: calling regexp.MatchString in a loop has poor performance, consider using regexp.Compile (staticcheck)
lint
issues found
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/