d0828f30

By: Jörg Thalheim <joerg@thalheim.io>

checks: cap Go parallelism at NIX_BUILD_CORES

golangci-lint and the Go test binaries default to using all CPUs, which
can exhaust per-user process limits on shared remote builders and fail
with 'fork/exec: resource temporarily unavailable'.

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 3m44s 2s 2s 3m47s 3m44s
Eval 5m59s 25s 25s 6m25s 2m12s
Build 17m47s 10m58s 8m19s 26m07s 14m31s
Suite 3m44s 11m26s 22m22s 26m07s 20m28s

Timeline

0s6m18m20m23m24m25m26m