Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
devmotion opened this issue Oct 2, 2023 · 1 comment
Open

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

devmotion opened this issue Oct 2, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@devmotion
Copy link

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: actions/setup-python#571 actions/setup-python#588

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

  • Currently asdf does not support Windows, but if one would like to run CI with windows one could install Julia with setup-julia instead, in a way that ensures that the installed Julia version is consistent with the .tool-versions file.
  • Currently the official asdf Github action does not support installation of only a subset of plugins, but it would be easy to only install Julia with setup-julia if the .tool-versions file format would be supported.
@devmotion devmotion added the bug Something isn't working label Oct 2, 2023
@DilumAluthge DilumAluthge added enhancement New feature or request and removed bug Something isn't working labels Oct 2, 2023
@SaschaMann SaschaMann removed their assignment Oct 4, 2023
@SaschaMann
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants