Skip to content

Improve error handling #4

Improve error handling

Improve error handling #4

Triggered via push January 21, 2025 12:00
Status Failure
Total duration 3m 6s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
lint: client/download.go#L248
Error return value of `progressBar.Set64` is not checked (errcheck)
lint: cmd/catalogue.go#L275
Error return value of `bar.Finish` is not checked (errcheck)
lint: cmd/file.go#L140
Error return value of `filepath.Walk` is not checked (errcheck)
lint: client/download.go#L169
ineffectual assignment to err (ineffassign)
lint: client/download.go#L171
ineffectual assignment to err (ineffassign)
lint: db/token.go#L33
SA4022: the address of a variable cannot be nil (staticcheck)
lint: client/download.go#L280
SA6005: should use strings.EqualFold instead (staticcheck)
lint: client/download.go#L331
SA6005: should use strings.EqualFold instead (staticcheck)
lint
Process completed with exit code 2.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636