Skip to content

test: source package after major changes #161

test: source package after major changes

test: source package after major changes #161

Triggered via pull request September 22, 2024 07:27
@hedhywhedhyw
synchronize #90
test/source
Status Failure
Total duration 47s
Artifacts

check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
Test: internal/pkg/source/streamer_test.go#L83
unused-parameter: parameter 'err' seems to be unused, consider removing or renaming it as _ (revive)
Test: internal/pkg/source/streamer_test.go#L159
unused-parameter: parameter 'err' seems to be unused, consider removing or renaming it as _ (revive)
Test: internal/pkg/source/entry_test.go#L516
fmt.Sprintf can be replaced with faster strconv.Itoa (perfsprint)
Test: internal/pkg/source/streamer_test.go#L53
expected-actual: need to reverse actual and expected values (testifylint)
Test: internal/pkg/source/entry_test.go#L542
TestLazyLogEntryLine should call t.Parallel on the top level as well as its subtests (tparallel)
Test: internal/pkg/source/entry_test.go#L580
TestLazyLogEntryLogEntry should call t.Parallel on the top level as well as its subtests (tparallel)
Test
Process completed with exit code 2.
Test
Restore cache failed: Dependencies file is not found in /home/runner/work/json-log-viewer/json-log-viewer. Supported file pattern: go.sum