Closed ruohola closed 2 years ago
Kudos, SonarCloud Quality Gate passed!
I think the one example with a matrix is made simpler by using
matrix.python-version
, but otherwise I agree this seems like an improvement, particularly for the example workflows that people might just copy paste.
But the matrix version is most usually just in the major.minor
format, the outputs.python-version
has the exact version number. I'm not sure if venvs are 100% compatible between Python's patch versions. I would assume they aren't.
I'm not sure, but re-building venvs on new patch versions seems like it might be a pretty sane default. I'm convinced 👍
Thanks @ruohola!
Virtual environments are heavily Python version specific, and it doesn't really make sense to share the cache between different Python versions.