This should speed up CI builds on future submissio...
# strikt
d
This should speed up CI builds on future submissions: https://github.com/robfletcher/strikt/pull/281
This reduced CI times by about a minute on my own project so I'm hoping to see a similar improvement here
r
cool. I’ll take a look
doesn’t seem to have made much difference for Strikt
d
I just skimmed the gradle-build-action docs and noticed that the cache is only written from the main / master branch and other branches can read from the cache: https://github.com/marketplace/actions/gradle-build-action#using-the-caches-read-only It looks like only the last run was on the main branch so I would expect the next run to start using the caches 🤞: https://github.com/robfletcher/strikt/actions
r
I was about to ask if it was something like that
cool
there, I just pushed a change, let’s see
cut the run time by about 1/3
d
nice! 🎉
r
thanks. I had seen caching done with some explicit steps before, but it’s good they’ve packaged it to be easier to use
d
Yeah, I've seen it with one of the other github actions (maybe checkout). Apparently the gradle-build-action uses more sophisticated caching resulting in better ci times