-
Notifications
You must be signed in to change notification settings - Fork 39
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
Pin Julia version #438
base: master
Are you sure you want to change the base?
Pin Julia version #438
Conversation
We set CompatHelper v2 is end-of-life, so we don't support it anymore. |
I think the combination of fixing the CompatHelper.jl/.github/workflows/CompatHelper.yml Lines 30 to 35 in d5dc1f4
|
Changing 2 to 3 would be sufficient for all current setups yes. However, at this moment all CompatHelper setups pinned to v2 ( This PR would avoid the problem for the future if it happens that v3 of CompatHelper is not compatible with, say, Julia 1.9. The best solution would probably to add a new action |
Yeah, I think that's going to be the best long-term solution. I've been working on it here: https://github.com/JuliaRegistries/compathelper-action It still needs some more testing though. |
Ah so I see that you're only one year ahead of me with having the idea 😆 I'll start using it and let you know if I run into trouble |
I don't think that https://github.com/JuliaRegistries/compathelper-action (in its current form) actually solves the issue you're bringing up here. Right now, I think we'd need to convert |
It looks like reusable workflows won't work on self-hosted runners. So for people using GitHub-hosted runners (which is most people), they can use the reusable workflow (https://github.com/JuliaRegistries/compathelper-workflow). But for those people that are using self-hosted runners, they'll have to use the composite action (https://github.com/JuliaRegistries/compathelper-action). @rikhuijzer Would you be interested in testing out both options (the reusable workflow and the composite action)? |
Are you sure about this?
Okay. I'll do that. It will take a bit though because I'm on the road next week for work |
@DilumAluthge I've tested https://github.com/JuliaRegistries/compathelper-action manually and opened 2 PRs (JuliaRegistries/compathelper-action#24 and JuliaRegistries/compathelper-action#25). The tests worked out fine for this Action. Would be nice if we could add some tests in CI, but without it things should also be okay given the relative simplicity of the setup. I'd say let's publish it and slowly move repositories over. |
CompatHelper v2 doesn't work on Julia 1.8. This causes all workflow runs that are pinned to CompatHelper v2 to fail since the runners are allowed to use any Julia version (see also #437). To solve this problem in the future, this PR proposes to explicitly install Julia v1.8.
@DilumAluthge