Local-First and Portable CI
prefix.dev
Local-First and Portable CI
1–9 of 9 posts
Re: Local-First and Portable CI
#2I have done a similar thing using simple makefiles though, collecting more complex chains of tasks into a "meta rule" in Make and just calling that from whatever CI config we're using.
Re: Local-First and Portable CI
#3Optimizing for local-first checking is 100% the way to go, and should be used much more widely I think. I have done a similar thing using simple makefiles though, collecting more complex chains of tasks into a "meta rule" in Make and just calling that from whatever CI config we're using.
Re: Local-First and Portable CI
#4I supposed you could cache whatever directory it installs to? Would be great to see an example
Re: Local-First and Portable CI
#5Re: Local-First and Portable CI
#6Optimizing for local-first checking is 100% the way to go, and should be used much more widely I think. I have done a similar thing using simple makefiles though, collecting more complex chains of tasks into a "meta rule" in Make and just calling that from whatever CI config we're using.
I have also slowly transitioned into something similar - using justfiles instead of make. I have `just prerequisites`, `just lint`, `just build` in all of my projects. pixie's lockfile might be the most interesting part.
Re: Local-First and Portable CI
#7Optimizing for local-first checking is 100% the way to go, and should be used much more widely I think. I have done a similar thing using simple makefiles though, collecting more complex chains of tasks into a "meta rule" in Make and just calling that from whatever CI config we're using.
Re: Local-First and Portable CI
#8Optimizing for local-first checking is 100% the way to go, and should be used much more widely I think. I have done a similar thing using simple makefiles though, collecting more complex chains of tasks into a "meta rule" in Make and just calling that from whatever CI config we're using.
I have also slowly transitioned into something similar - using justfiles instead of make. I have `just prerequisites`, `just lint`, `just build` in all of my projects. pixie's lockfile might be the most interesting part.
Re: Local-First and Portable CI
#9Is there any way to cache the dependency installation step on github actions for example? I supposed you could cache whatever directory it installs to? Would be great to see an example