Skip to content

build: fix linter warning #45

build: fix linter warning

build: fix linter warning #45

Triggered via push January 4, 2024 21:50
Status Failure
Total duration 26s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 5 warnings
lint: internal/model/model_test.go#L199
Error return value of `model.ParseStackFrame` is not checked (errcheck)
lint: internal/model/model_test.go#L205
Error return value of `model.ParseStackPos` is not checked (errcheck)
lint: internal/model/model_test.go#L211
Error return value of `model.ParseHeader` is not checked (errcheck)
lint: main.go#L6
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: main.go#L51
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
lint: internal/model/model.go#L168
SA4006: this value of `err` is never used (staticcheck)
lint: internal/model/model.go#L185
SA4006: this value of `err` is never used (staticcheck)
lint
issues found
coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: codecov/codecov-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
link checker warning: README.md#L25
https://golang.org/pkg/net/http/pprof/. Request was redirected to https://pkg.go.dev/net/http/pprof
link checker warning: README.md#L44
https://golang.org/pkg/net/http/pprof/. Request was redirected to https://pkg.go.dev/net/http/pprof
link checker warning: README.md#L4
https://goreportcard.com/badge/github.com/becheran/roumon. Request was redirected to https://img.shields.io/badge/go%20report-A+-brightgreen.svg?style=flat
link checker warning: README.md#L8
https://coveralls.io/repos/github/becheran/roumon/badge.svg?branch=main. Request was redirected to https://s3.amazonaws.com/assets.coveralls.io/badges/coveralls_86.svg