Skip to content

Add a CI linter

Add a CI linter #1

Triggered via pull request March 23, 2025 15:39
Status Failure
Total duration 31s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: gpmf/gpmf.go#L183
G115: integer overflow conversion uint16 -> int16 (gosec)
lint: gpmf/gpmf.go#L182
G115: integer overflow conversion uint16 -> int16 (gosec)
lint: telemetry/reader.go#L17
cognitive complexity 62 of func `Read` is high (> 30) (gocognit)
lint: bin/gopro2gpx/gopro2gpx.go#L56
Error return value of `t_prev.FillTimes` is not checked (errcheck)
lint: bin/gopro2json/gopro2json.go#L56
Error return value of `t_prev.FillTimes` is not checked (errcheck)
lint: telemetry/reader.go#L254
Error return value of `io.CopyN` is not checked (errcheck)
lint: telemetry/reader.go#L224
Error return value of `tsmp.Parse` is not checked (errcheck)
lint: telemetry/reader.go#L220
Error return value of `tmp.Parse` is not checked (errcheck)
lint: telemetry/reader.go#L202
Error return value of `g.Parse` is not checked (errcheck)
lint: telemetry/reader.go#L160
Error return value of `io.CopyN` is not checked (errcheck)