Skip to content

Add golangci-lint locally and in CI #2

Add golangci-lint locally and in CI

Add golangci-lint locally and in CI #2

Triggered via pull request February 3, 2026 17:53
Status Failure
Total duration 32s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
Lint
issues found
Lint: internal/runtime/docker.go#L116
Error return value of `reader.Close` is not checked (errcheck)
Lint: internal/runtime/docker.go#L33
Error return value of `reader.Close` is not checked (errcheck)
Lint: internal/container/start.go#L92
Error return value of `resp.Body.Close` is not checked (errcheck)
Lint: internal/container/start.go#L88
Error return value of `resp.Body.Close` is not checked (errcheck)
Lint: internal/auth/login.go#L45
Error return value of `server.Shutdown` is not checked (errcheck)
Lint: internal/auth/login.go#L44
Error return value of `server.Serve` is not checked (errcheck)
Lint: internal/auth/login.go#L27
Error return value of `listener.Close` is not checked (errcheck)
Lint
Unexpected input(s) 'version-file', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'verify', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
Lint
Unexpected input(s) 'version-file', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'verify', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']