SIGN IN SIGN UP

Cache poetry install + unify Python/Poetry setup for lint and test jobs. (#9625)

With this PR:
- All lint and test jobs use the exact same Python + Poetry installation
approach, instead of lints doing it one way and tests doing it another
way.
- The Poetry installation itself is cached, which saves ~15s per run.
- We no longer pass shell commands as workflow arguments to a workflow
that just runs them in a shell. This makes our actions more resilient to
shell code injection.

If y'all like this approach, I can modify the scheduled tests workflow
and the release workflow to use this too.
P
Predrag Gruevski committed
83986ea98a9a43b4d0508e3beeda9c3b5b77b832
Parent: 81163e3
Committed by GitHub <[email protected]> on 8/22/2023, 7:59:22 PM