How I've reduced CI rust tests duration 4x with caching and Nix!

One of my project consists of backend (rust) split into many services and frontend made with Svelte. Sooner rather than later I found out that rust builds that we’re rather quick locally took ages in CI, resulting in poor CI feedback experience and test times exceeding 15 minutes. This post was made to help people struggling with similar issues. Project Structure The way I structure my projects will influence some of the further solutions, so I thought it’s worthwhile sharing...

April 20, 2023

How to use Nix to make reproducible dev environments

Perhaps just like me, you see value in making easily reproducible dev environments. Wouldn’t it be great if you could have projects with different versions of dependencies that anyone could just jump right into, type command or two and have everything necessary for contributing? Well, I think it’s something that everyone should take into consideration. Reproducible dev environments have one more pro - there are self-documenting state of your project. You can look into things your dev env provides you to know which programming languages and tools the project is using....

March 17, 2023