julia-actions / setup-julia

This action sets up a Julia environment for use in actions by downloading a specified version of Julia and adding it to PATH.
MIT License
93 stars 23 forks source link

[Feature Request] Support `.tool-versions` files #167

Open devmotion opened 1 year ago

devmotion commented 1 year ago

asdf-vm allows to specify project dependencies such as python, poetry, nodejs, ..., and julia in .tool-versions files. This is very convenient in particular in projects that involve multiple tools besides julia and when working on different projects with different versions of these tools.

The actions/setup-node Github action allows to specify the desired version of nodejs by providing the location of a .tool-versions file: https://github.com/actions/setup-node/blob/72c43c2d8fa01b0e1ca5fc3f8cb258c8d8bd286d/action.yml#L10-L11 A similar functionality was also requested for the actions/setup-python action: https://github.com/actions/setup-python/issues/571 https://github.com/actions/setup-python/pull/588

IMO a similar functionality (with a version-file input?) for julia-actions/setup-julia would be very useful:

SaschaMann commented 1 year ago

I like the idea, I'll take a look at implementing it.