Skip to content

Full-file syntax highlighting for diff pages #28030

Full-file syntax highlighting for diff pages

Full-file syntax highlighting for diff pages #28030

Triggered via pull request March 8, 2025 09:42
Status Failure
Total duration 7m 4s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors
lint-go-gogit
Process completed with exit code 2.
lint-go-gogit: services/gitdiff/highlightdiff_test.go#L37
cannot use &diff (value of type *diffmatchpatch.Diff) as string value in argument to hcd.recoverOneDiff (typecheck)
lint-go-gogit: services/gitdiff/gitdiff_test.go#L33
cannot use []dmp.Diff{…} (value of type []diffmatchpatch.Diff) as []DiffHTMLOperation value in argument to diffToHTML
lint-go-gogit: services/gitdiff/gitdiff_test.go#L26
cannot use []dmp.Diff{…} (value of type []diffmatchpatch.Diff) as []DiffHTMLOperation value in argument to diffToHTML
lint-backend
Process completed with exit code 2.
lint-backend: services/gitdiff/highlightdiff_test.go#L37
cannot use &diff (value of type *diffmatchpatch.Diff) as string value in argument to hcd.recoverOneDiff (typecheck)
lint-backend: services/gitdiff/gitdiff_test.go#L33
cannot use []dmp.Diff{…} (value of type []diffmatchpatch.Diff) as []DiffHTMLOperation value in argument to diffToHTML
lint-backend: services/gitdiff/gitdiff_test.go#L26
cannot use []dmp.Diff{…} (value of type []diffmatchpatch.Diff) as []DiffHTMLOperation value in argument to diffToHTML
lint-go-windows
Process completed with exit code 2.
lint-go-windows: services/gitdiff/highlightdiff_test.go#L37
cannot use &diff (value of type *diffmatchpatch.Diff) as string value in argument to hcd.recoverOneDiff (typecheck)
lint-go-windows: services/gitdiff/gitdiff_test.go#L33
cannot use []dmp.Diff{…} (value of type []diffmatchpatch.Diff) as []DiffHTMLOperation value in argument to diffToHTML
lint-go-windows: services/gitdiff/gitdiff_test.go#L26
cannot use []dmp.Diff{…} (value of type []diffmatchpatch.Diff) as []DiffHTMLOperation value in argument to diffToHTML