Fix testscript RunMain deprecation
#1520
ci.yml
on: pull_request
ci
/
...
/
set-go-matrix
2s
ci
/
...
/
set-go-matrix
3s
ci
/
actionlint
5s
ci
/
...
/
lint
1m 14s
ci
/
...
/
govulncheck
18s
Matrix: ci / codeql / CodeQL Analyze
Matrix: ci / build / build
Matrix: ci / test / test
Annotations
3 errors
|
ci / lint / lint
issues found
|
|
ci / lint / lint:
internal/cmd/root.go#L47
directive `//nolint:gocritic // if this is not here, panics are not handled as intended` is unused for linter "gocritic" (nolintlint)
|
|
ci / lint / lint:
internal/cmd/root.go#L52
exitAfterDefer: os.Exit will exit, and `defer panicHandler()` will not run (gocritic)
|