Fix testscript RunMain deprecation
#1521
ci.yml
on: pull_request
ci
/
...
/
set-go-matrix
2s
ci
/
...
/
set-go-matrix
2s
ci
/
actionlint
8s
ci
/
...
/
lint
1m 17s
ci
/
...
/
govulncheck
15s
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#L77
directive `//nolint:gocritic // panics are caught (earlier) and handled in panichandler()` 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)
|