Skip to content

Add cli UT

Add cli UT #20

Triggered via push July 16, 2024 07:00
Status Failure
Total duration 26s
Artifacts
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
lint (1.21, macos-latest): cli/jsonrepair-cli_test.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.22, macos-latest)
The job was canceled because "_1_21_macos-latest" failed.
lint (1.22, macos-latest): cli/jsonrepair-cli_test.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)
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