Use Java's Checkstyle for Code Quality Reports

We’re building Java applications using Gitlab CI and use Checkstyle (1) for code quality. Does anybody have experience on using a Checkstyle report (XML or HTML) as input for the codequality report artifact in .gitlab-ci.yml ? Or can someone recommend another way of properly visualizing Checkstyles reports in Gitlab CI?

(1) https://checkstyle.sourceforge.io/
(2) https://docs.gitlab.com/ee/ci/yaml/#artifactsreportscodequality-starter