fix(workflow): checkout before local action and remove nested checkout

Add top-level `actions/checkout` to jobs so local action files are available, and remove redundant checkout from `install-nix` composite action. Prewarm flake devShell remains in the action.
This commit is contained in:
HendrikRauh 2026-03-06 14:49:23 +01:00
parent c362172cdb
commit 198c835c50
2 changed files with 16 additions and 2 deletions

View file

@ -3,8 +3,16 @@ description: Composite action to checkout the repo and install Nix with flakes e
runs:
using: composite
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install Nix
uses: cachix/install-nix-action@v31
with:
extra_nix_config: |
experimental-features = nix-command flakes
- name: Prewarm flake devShell
run: |
# use the flake devShell defined in ./flake.nix to fetch deps
nix develop --command true
shell: bash
- name: Install Nix
uses: cachix/install-nix-action@v31