Commit graph

3 commits

Author SHA1 Message Date
Marien Zwart
8c7b188ae5
CI: break up "CI" workflow
Break the single job into four stages: `nix flake update`, checks,
cachix, push to main.

The benefit is that checks and cachix can use a matrix strategy in the
future (to test / build for different OSes and nixpkgs releases). Also,
the cachix build can run in parallel with checks.

The downside is that we need to push to a temporary branch before we can
run checks. Do that the simplest possible way (just hardcode the branch
name).
2024-06-22 20:48:03 +10:00
Marien Zwart
816827ffed
CI: fix config error 2024-06-22 20:13:07 +10:00
Marien Zwart
8f0941c8d7
CI: experimental flake-update workflow
I want to use a matrix strategy for the check and cachix workflows, so I
need to not just commit but also push the updated flake.lock somewhere
other than `main`, so multiple workers can check out the pending change.

Try the simplest possible thing first, expecting it to fail with
permission issues.
2024-06-22 20:04:51 +10:00