mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2026-03-09 05:20:21 +00:00
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:
parent
c362172cdb
commit
198c835c50
2 changed files with 16 additions and 2 deletions
12
.github/actions/install-nix/action.yml
vendored
12
.github/actions/install-nix/action.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue