Skip to content

add CI workflow for nix flake check#5

Merged
nz merged 1 commit into
mainfrom
nz/ci-flake-check
Jul 14, 2026
Merged

add CI workflow for nix flake check#5
nz merged 1 commit into
mainfrom
nz/ci-flake-check

Conversation

@nz

@nz nz commented Jul 14, 2026

Copy link
Copy Markdown
Member

Summary

Adds .github/workflows/ci.yml — a single GitHub Actions job that runs nix flake check on ubuntu-latest for every push to main and every pull request.

  • Uses DeterminateSystems/nix-installer-action for Nix + flakes.
  • Uses DeterminateSystems/magic-nix-cache-action (zero-config GHA-native cache) so gem rebuilds don't happen from scratch on every run.
  • x86_64-linux only for now; darwin / aarch64-linux coverage can be added later without changing the workflow's shape.

Intended as the first thing to land so downstream WIP branches (#3, #4) can be rebased on top and get CI on their PRs.

Test plan

Runs `nix flake check` on ubuntu-latest for every push to main and every
pull request. Uses DeterminateSystems' nix-installer plus magic-nix-cache
so incremental reruns don't rebuild every gem from source.

x86_64-linux only for now; darwin/aarch64 coverage can be layered on
later without changing this workflow's shape.
@nz
nz enabled auto-merge July 14, 2026 17:29
@nz
nz merged commit e894bf1 into main Jul 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants