the runtime your coding agents live on
Rust agentagent-orchestrationaiai-agentsclaude-codeclicodexcoding-agentsdeveloper-toolsdevtoolsmultiplexerrustterminalterminal-multiplexerterminal-uitmuxtuiworkspace-manager
ci: cache nix workflow
Ogulcan Celik1bab1d2ce215
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 01c585394..4683eb981 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -29,16 +29,13 @@ jobs:with:persist-credentials: false- - name: Install just- uses: extractions/setup-just@v4-- name: Install Rustuses: dtolnay/rust-toolchain@stable- - name: Install cargo-nextest+ - name: Install Rust toolsuses: taiki-e/install-action@b550161ef8a7bc4f2a671c0b03a18ac9ccedea1e # v2with:- tool: cargo-nextest+ tool: just,cargo-nextest- name: Install Ziguses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # v2.2.1diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.ymlindex 03fa711d4..81306b1ad 100644--- a/.github/workflows/nix.yml+++ b/.github/workflows/nix.yml@@ -3,10 +3,16 @@ name: Nixon:pull_request:types: [opened, synchronize, reopened]+ paths-ignore:+ - "website/**"+ - "docs/**"+ - "**/*.md"push:branches: [master]paths-ignore:- "website/**"+ - "docs/**"+ - "**/*.md"permissions:contents: read@@ -25,10 +31,23 @@ jobs:with:persist-credentials: false+ - name: Install Nix+ uses: cachix/install-nix-action@8aa03977d8d733052d78f4e008a241fd1dbf36b3 # v31.10.6+ with:+ extra_nix_config: |+ experimental-features = nix-command flakes+ always-allow-substitutes = true++ - name: Enable Magic Nix Cache+ if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository+ uses: DeterminateSystems/magic-nix-cache-action@565684385bcd71bad329742eefe8d12f2e765b39 # v13+ continue-on-error: true+ with:+ source-tag: v0.1.6+ use-flakehub: disabled+ diagnostic-endpoint: ""+- name: Run Nix flake checkrun: |- docker run --rm \- -v "$PWD:/work" \- -w /work \- docker.io/nixos/nix:2.31.2 \- sh -c 'git config --global --add safe.directory /work && nix --extra-experimental-features "nix-command flakes" flake check --print-build-logs && nix --extra-experimental-features "nix-command flakes" flake check --all-systems --no-build --print-build-logs'+ nix flake check --print-build-logs+ nix flake check --all-systems --no-build --print-build-logs