hercules-ci / flake.parts-website

Deployment of the https://flake.parts website
9 stars 17 forks source link

Per module linkchecks #785

Open srid opened 9 months ago

srid commented 9 months ago

https://github.com/hercules-ci/flake.parts-website/blob/07004d6c3abf5530d312fc69dbfbf89f0039a714/site/site-module.nix#L15-L33

It would make haskell-flake CI a bit faster to have per module linkchecks. I don't want to have to run link checks for the other N-1 modules

linkcheck>  6 threads active,  1029 links queued, 

And it takes 3 minutes to check these links, while downloading 154.1MB of data ...

https://github.com/srid/haskell-flake/actions/runs/8031533843/job/21939954417#step:3:942

roberth commented 8 months ago

linkchecker was doing something very naive. I've switched it to lychee, which is basically instant.