Skip to content

Add golagnci lint

Add golagnci lint #1

Triggered via push April 29, 2024 14:40
Status Failure
Total duration 33s
Artifacts
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 7 warnings
lint (1.20, macos-latest): jsonrepair.go#L64
Error return value of `json.Compact` is not checked (errcheck)
lint (1.20, macos-latest): cli/jsonrepair-cli.go#L6
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (1.20, macos-latest)
issues found
lint (1.22, macos-latest)
The job was canceled because "_1_20_macos-latest" failed.
lint (1.22, macos-latest): jsonrepair.go#L64
Error return value of `json.Compact` is not checked (errcheck)
lint (1.22, macos-latest): cli/jsonrepair-cli.go#L6
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (1.22, macos-latest)
issues found
lint (1.21, macos-latest)
The job was canceled because "_1_20_macos-latest" failed.
lint (1.21, macos-latest): jsonrepair.go#L64
Error return value of `json.Compact` is not checked (errcheck)
lint (1.21, macos-latest): cli/jsonrepair-cli.go#L6
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (1.21, macos-latest)
issues found
lint (1.20, windows-latest)
The job was canceled because "_1_20_macos-latest" failed.
lint (1.20, windows-latest)
The operation was canceled.
lint (1.18, macos-latest)
The job was canceled because "_1_20_macos-latest" failed.
lint (1.18, macos-latest)
The operation was canceled.
lint (1.22, windows-latest)
The job was canceled because "_1_20_macos-latest" failed.
lint (1.22, windows-latest)
The operation was canceled.
lint (1.21, windows-latest)
The job was canceled because "_1_20_macos-latest" failed.
lint (1.21, windows-latest)
The operation was canceled.
lint (1.19, windows-latest)
The job was canceled because "_1_20_macos-latest" failed.
lint (1.19, windows-latest)
The operation was canceled.
lint (1.18, windows-latest)
The job was canceled because "_1_20_macos-latest" failed.
lint (1.18, windows-latest)
The operation was canceled.
lint (1.19, macos-latest)
The job was canceled because "_1_20_macos-latest" failed.
lint (1.19, macos-latest)
The operation was canceled.
lint (1.20, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/json-repair/json-repair. Supported file pattern: go.sum
lint (1.22, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/json-repair/json-repair. Supported file pattern: go.sum
lint (1.21, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/json-repair/json-repair. Supported file pattern: go.sum
lint (1.20, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\json-repair\json-repair. Supported file pattern: go.sum
lint (1.22, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\json-repair\json-repair. Supported file pattern: go.sum
lint (1.21, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\json-repair\json-repair. Supported file pattern: go.sum
lint (1.19, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/json-repair/json-repair. Supported file pattern: go.sum