#52083: ci: improve lint job code reuse
Merged
Description of Change
Handful of improvements to make this less repetitive and more maintainable:
- Use
install-build-toolsinstead of doing a bespoke checkout ofdepot_tools - Use
gclient getdepto get values out of DEPS files instead of bespoke grepping - Push the
chromium_revisionextraction into a single step instead of doing it twice
Checklist
- I have built and tested this change
- I have filled out the PR description
Release Notes
Notes: none
Backports
Semver Impact
Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.
Semantic Versioning helps users understand the impact of updates:
- Major (X.y.z): Breaking changes that may require code modifications
- Minor (x.Y.z): New features that maintain backward compatibility
- Patch (x.y.Z): Bug fixes that don't change the API
- None: Changes that don't affect using facing parts of Electron