Commit Graph

14 Commits

Author SHA1 Message Date
Bryan Richter
e224e51254
Fix more fast mistakes
When combined with the duplicate job, condition should have been
dropped.
2026-04-13 11:26:02 +03:00
Bryan Richter
d931edead9
Fix copypasta 2026-04-13 11:20:31 +03:00
Bryan Richter
29cee69f8a
Make the reusable workflow a reusable action 2026-04-13 10:21:49 +03:00
Bryan Richter
536f0311cf
Clean up unneeded flake-check duplication
The cachix action already only pushes from protected branches, based on
the presence of the auth token.
2026-04-13 09:37:16 +03:00
Bryan Richter
e9456a0e30
Run stack-test regularly to keep cache warm 2026-04-13 09:36:45 +03:00
Bryan Richter
e84c1a82be
Try to cache stack and ghc install
Some checks failed
check and push / stack test (push) Has been cancelled
check and push / flake check (no push) (push) Has been cancelled
check and push / flake check and push (push) Has been cancelled
2026-02-13 10:41:05 +02:00
Bryan Richter
33ca535e17
Fall back to previous cache key 2026-02-13 10:29:07 +02:00
Bryan Richter
4c42c3b913
Generalize cache key to just follow stack.yaml 2026-02-13 10:10:10 +02:00
Bryan Richter
c9c601ab6e
Cancel earlier pipelines
Why this isn't a default is beyond me.
2026-02-13 10:05:37 +02:00
Bryan Richter
c4b2b4095e
Fix copypasta 2026-02-13 10:00:34 +02:00
Bryan Richter
c31c0f9669
Reconfigure caching
Caching .stack-work seems sketchy -- I'd rather have a full build of the
local project each time.

~/.ghcup, on the other hand, is the toolchain and seems like a good
cache candidate.
2026-02-12 22:01:25 +02:00
Bryan Richter
d9ef4c726a
Use ghcup to get stack and ghc 2026-02-12 14:49:34 +02:00
Bryan Richter
720f6af78d
Add flake check and push 2026-02-12 14:36:46 +02:00
Jens Petersen
d5cc9bd923 add GH action to build the project
use enable-stack, stack-no-global
2025-02-03 18:24:08 +08:00