haskell / haskell/cabal

"Quick checks" despite the name take 7-10 minutes

Open
#10,461 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

_Originally posted by @geekosaur in https://github.com/haskell/cabal/issues/10421#issuecomment-2408683328_

A quick look at the Doctest and buildinfo filed generator jobs (e.g. [this](https://github.com/haskell/cabal/actions/runs/11309080741/job/31452576470?pr=10428) and [this](https://github.com/haskell/cabal/actions/runs/11309080741/job/31452576030?pr=10428)) shows that they seem to do repetitive builds: they first build a thing and then run it but the running also does the building again first. For Doctest, it looks like magic and we should ask the author. For the generator, it seems like a blunder on our side.

Besides, setting up a GHC via GHCup takes 2 minutes. There's probably nothing we can do about that.

![2024-10-12_18-10-1728771677](https://github.com/user-attachments/assets/eeb056cf-048a-42d9-9c19-056f0414b341)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.