https://pantsbuild.org/ logo
p

proud-dentist-22844

06/22/2022, 3:59 PM
I'm looking at CI w/ pants in GHA. Please sanity check my thoughts: If there are multiple python versions in the matrix: https://github.com/pantsbuild/example-python/blob/main/.github/workflows/pants.yaml#L25-L26 Can the cache be shared between the python versions? I'm thinking that the cache key needs to include the matrix.python-version https://github.com/pantsbuild/example-python/blob/main/.github/workflows/pants.yaml#L36 And, shouldn't the log include the matrix var(s) as well? Otherwise only one of the log uploads will succeed. https://github.com/pantsbuild/example-python/blob/main/.github/workflows/pants.yaml#L60
4 Views