cjdoris / julia-downgrade-compat-action

GitHub action to downgrade compat entries before testing
19 stars 2 forks source link

apply downgrade locally #4

Open bgctw opened 11 months ago

bgctw commented 11 months ago

This action is really helpful. Can I apply the downgrade locally in a branch, in order to to test it before activating the CI on github?

In case, its not locally accessible yet, I suggest to ask ufechner, if it can be implemented at PkgHelpers.jl.

cjdoris commented 10 months ago

You can run github actions locally using something like https://github.com/nektos/act.

A hackier solution is to run the downgrade script here directly: https://github.com/cjdoris/julia-downgrade-compat-action/blob/main/downgrade.jl.

sethaxen commented 9 months ago

Would it make sense to put this script in a lightweight package? Then I could easily install the package and call the downgrade function providing a local path to a package.

cjdoris commented 9 months ago

Could do yeah. BTW this action has moved to https://github.com/julia-actions/julia-downgrade-compat. I'm about to archive this repo.