Skip to content

Configure lint in actions, add PR template and dependency updates through renovate #2

Configure lint in actions, add PR template and dependency updates through renovate

Configure lint in actions, add PR template and dependency updates through renovate #2

Triggered via pull request September 22, 2024 18:28
@kordianbruckkordianbruck
synchronize #187
lint
Status Failure
Total duration 37s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: backends/open-meteo.com.go#L19
field `language` is unused (unused)
lint: backends/worldweatheronline.com.go#L138
S1009: should omit nil check; len() for []struct{Value string} is defined as zero (gosimple)
lint: backends/worldweatheronline.com.go#L185
S1009: should omit nil check; len() for []github.com/schachmat/wego/backends.wwoCond is defined as zero (gosimple)
lint: backends/worldweatheronline.com.go#L353
S1009: should omit nil check; len() for []struct{Msg string} is defined as zero (gosimple)
lint: backends/worldweatheronline.com.go#L362
S1009: should omit nil check; len() for []github.com/schachmat/wego/backends.wwoCond is defined as zero (gosimple)
lint: backends/openweathermap.org.go#L27
structtag: struct field tag `json: "timezone"` not compatible with reflect.StructTag.Get: bad syntax for struct tag value (govet)
lint: backends/openweathermap.org.go#L29
structtag: struct field tag `json: "sunrise"` not compatible with reflect.StructTag.Get: bad syntax for struct tag value (govet)
lint: backends/openweathermap.org.go#L30
structtag: struct field tag `json: "sunset"` not compatible with reflect.StructTag.Get: bad syntax for struct tag value (govet)
lint: backends/openweathermap.org.go#L210
SA4022: the address of a variable cannot be nil (staticcheck)
lint: backends/openweathermap.org.go#L214
SA4022: the address of a variable cannot be nil (staticcheck)