Skip to content

Update init.go

Update init.go #366

Triggered via push October 17, 2024 03:08
Status Failure
Total duration 27s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
golangci: datatable.go#L1372
S1011: should replace loop with `dls = append(dls, dt.columns...)` (gosimple)
golangci: datalist_test.go#L21
S1023: redundant `return` statement (gosimple)
golangci: datatable_test.go#L9
S1023: redundant `return` statement (gosimple)
golangci: datalist.go#L1031
SA1019: strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead. (staticcheck)
golangci: lp/init.go#L376
Error return value of `os.MkdirAll` is not checked (errcheck)
golangci: lp/lp.go#L258
S1011: should replace loop with `warnings = append(warnings, matches...)` (gosimple)
golangci
issues found
golangci
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/