Closed Seasawher closed 5 months ago
This is surely not optimal and I'm keen to hear suggestions.
I saw on several places on Zulip that running lake update
on lean projects which aren't downstream of mathlib can cause problems. I don't know the precise details. Additionally the use case I had in mind was for people working on projects which use mathlib.
The current implementation is:
lean-toolchain
by compying the one in use by mathlib: curl -L https://raw.githubusercontent.com/leanprover-community/mathlib4/master/lean-toolchain -o lean-toolchain
lake update Mathlib
This seems to work robustly for projects which depend on Mathlib but doesn't make sense for any others.
I saw on several places on Zulip that running lake update on lean projects which aren't downstream of mathlib can cause problems. I don't know the precise details. Additionally the use case I had in mind was for people working on projects which use mathlib.
I would like to know more about the details. I want to use the auto-update action for projects that do not depend on mathlib.
Why is this Action set to error in mathlib-independent repositories?