[GH] Workflow cleanup
[GH] Workflow cleanup

Use room instead of activity for ktlint since room doesn't depend on
compose, hence more stable.
Remove custom checkout logic for lint since we don't need git history
anymore

Bug: n/a
Test: CI

This is an imported pull request from https://github.com/androidx/androidx/pull/195.

Resolves #195
Github-Pr-Head-Sha: c7c5aa284f2487dcc8ab757bc192a18583a1e473
GitOrigin-RevId: be7405183ab07c3c0b23f45e4ca436269f2beee4
Change-Id: Ic098d8dc8704a6858bf9215d851c5371d2622dce

AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx