phiresky / ripgrep-all

rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.
Other
6.4k stars 148 forks source link

Tighten CI by running in Nix #175

Closed lafrenierejm closed 1 year ago

lafrenierejm commented 1 year ago

Running the CI checks via Nix ensures that we always have a stable set of dependencies to test against.

phiresky commented 1 year ago

neat

phiresky commented 1 year ago

what about the release workflow? 😅

lafrenierejm commented 1 year ago

what about the release workflow? 😅

It would be easy to leverage Nix for the Linux and Darwin releases in that workflow. But since Nix doesn't natively support Windows, using it for the Windows release would entail some form of cross-compilation if it's even feasible. I don't have any personal experience with that, so I can't really advise on whether that's a direction that would be worth seriously pursuing.