mamba-org / setup-micromamba

GitHub Action to set up micromamba
MIT License
97 stars 15 forks source link

Add micromamba version to cache key? #91

Closed jonashaag closed 12 hours ago

jonashaag commented 1 year ago

If you change the Micromamba version (implicit update due to new release, explicit update to due version pin) any environment cached with a previous Micromamba version is restored.

I wonder if we should make the cache dependent on the Micromamba version because there might be bug fixes in newer versions that affect the environment

pavelzw commented 1 year ago

Yes, that sounds reasonable 👍

bhperry commented 6 days ago

Speaking of.... this issue became a whole lot more painful to deal with because of this

pavelzw commented 6 days ago

it would probably be easiest to just include the sha256 of the micromamba executable in the cache key. PRs are welcome :)