svalinn / Cubit-plugin

Plugins and command extensions for Coreform Cubit
BSD 3-Clause "New" or "Revised" License
17 stars 14 forks source link

added depth of 1 to git clones #114

Closed shimwell closed 3 years ago

shimwell commented 3 years ago

This is a tiny PR that aims to speed up the GitHub Action builds

Currently we are git cloning the entire branch for 3 repos.

This PR changes to clone with a depth of 1 which just performs a show clone

I'm hoping this will speed up the build process fractionally

We can compare this GitHub Action times to this last run to see if the reduced download makes much impact https://github.com/svalinn/Cubit-plugin/actions/runs/1091685594

shimwell commented 3 years ago

Timings appear to vary from run to run but comparing the last merge to develop which took 19m 48s with this one which takes 17m 47s I think we are seeing a small speed up in time as a result of shallow cloning

shimwell commented 3 years ago

The last GH actions build was queuing for a while so please ignore the timings for that one. Over all this looks faster (more so when run locally than of GH actions)

gonuke commented 3 years ago

Thanks @Shimwell