Skip to content

Full-file syntax highlighting for diff pages #28034

Full-file syntax highlighting for diff pages

Full-file syntax highlighting for diff pages #28034

Triggered via pull request March 8, 2025 10:59
Status Failure
Total duration 7m 5s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

18 errors
lint-backend
Process completed with exit code 2.
lint-backend: services/repository/files/diff_test.go#L38
unknown field Index in struct literal of type gitdiff.DiffFile (typecheck)
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#L624
undefined: GetDiff
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/repository/files/diff_test.go#L38
unknown field Index in struct literal of type gitdiff.DiffFile (typecheck)
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#L624
undefined: GetDiff
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
lint-go-gogit
Process completed with exit code 2.
lint-go-gogit: services/repository/files/diff_test.go#L38
unknown field Index in struct literal of type gitdiff.DiffFile (typecheck)
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#L624
undefined: GetDiff
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