[Chapel Merge] Use sparse-checkout in prereqs-docs-compare job

Branch: refs/heads/main
Revision: a857159a543bf2173e011b2bc37951c3fdca8dc5
Author: arifthpe
Link: Use sparse-checkout in prereqs-docs-compare job by arifthpe · Pull Request #29275 · chapel-lang/chapel · GitHub
Log Message:
Use sparse-checkout in prereqs-docs-compare job (#29275)

Sparse-checkout util/devel/test/portability in the
prereqs-docs-compare job, since it does not need the full Chapel tree.

This job does a diff against a regenerated
doc/rst/usingchapel/prereqs-commands.rst. This is not included in the
sparse-checkout, however as long as the diff works correctly that's
fine.

[trivial, not reviewed]

Compare: Comparing 9dfb78776835068906408ba49a3a6c75c659f483...a6b9ba52fa5e306721890f3d5422900558342e80 · chapel-lang/chapel · GitHub

Diff:
M .github/workflows/core-ci-checks.yml
https://github.com/chapel-lang/chapel/pull/29275.diff