- ci.yaml: ./gradlew lint -> lintDebug, test -> testDebugUnitTest. Default lint task runs for BOTH debug and release variants which doubles the scan work; AGP's lint catalog is identical between variants for our scope so debug-only is sufficient. Same for test: testDebugUnitTest avoids running release-variant test compilation. - release.yaml: drop lint step from ci-sanity job. Lint is enforced on every push to main via ci.yaml; by the time a tag exists at a main commit, lint has already passed. Release-sanity keeps test + assembleDebug to catch any tag-resolved drift (e.g. version code substitution issues). Expected CI run time reduction: ~30% (lint accounts for the largest single block of cold-cache work). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
5.9 KiB
5.9 KiB