Add TTY detection for non-interactive environments #273
ci.yml
on: pull_request
ci
/
...
/
set-go-matrix
ci
/
...
/
set-go-matrix
4s
ci
/
actionlint
9s
ci
/
...
/
lint
20s
ci
/
...
/
govulncheck
35s
Matrix: ci / codeql / CodeQL Analyze
Matrix: ci / build / build
Waiting for pending jobs
Matrix: ci / test / test
Annotations
4 errors
|
ci / lint / lint
issues found
|
|
ci / lint / lint:
ui/ui_test.go#L123
os.Setenv() could be replaced by t.Setenv() in TestCanPrompt_NonInteractiveEnvVar (usetesting)
|
|
ci / lint / lint:
ui/ui_test.go#L114
os.Setenv() could be replaced by t.Setenv() in TestCanPrompt_NonInteractiveEnvVar (usetesting)
|
|
ci / lint / lint:
ui/ui_test.go#L100
File is not properly formatted (goimports)
|