From e1e3f9aef8716b6508ae93a410cb15c986aeb972 Mon Sep 17 00:00:00 2001 From: Nick Zadrozny Date: Tue, 14 Jul 2026 12:18:50 -0500 Subject: [PATCH] add CI workflow for nix flake check 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. --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6cfdace --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + +jobs: + flake-check: + name: nix flake check (x86_64-linux) + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@main + + - name: Enable Magic Nix Cache + uses: DeterminateSystems/magic-nix-cache-action@main + + - name: nix flake check + run: nix flake check --print-build-logs