Skip to content

Update and rename go.yml to tests.yml #1

Update and rename go.yml to tests.yml

Update and rename go.yml to tests.yml #1

Triggered via push September 6, 2024 05:58
Status Failure
Total duration 27s
Artifacts

tests.yml

on: push
go-static-checks
18s
go-static-checks
Fit to window
Zoom out
Zoom in

Annotations

6 errors
go-static-checks: request.go#L220
Error return value of `io.CopyN` is not checked (errcheck)
go-static-checks: utils.go#L62
S1025: the argument's underlying type is a slice of bytes, should use a simple conversion instead of fmt.Sprintf (gosimple)
go-static-checks: request.go#L179
S1020: when ok is true, v can't be nil (gosimple)
go-static-checks: changes.go#L667
S1011: should replace loop with `opt.AdditionalFields = append(opt.AdditionalFields, AdditionalFields...)` (gosimple)
go-static-checks: changes.go#L122
SA5008: unknown JSON option "omitempt" (staticcheck)
go-static-checks
issues found