Add nix installer action
Some checks failed
Test / Build (push) Successful in 4s
Test / Test (push) Successful in 3s
Testing with devbox / test (push) Failing after 23s

This commit is contained in:
Chris Daßler
2025-02-13 21:25:22 +01:00
parent 6d842f1410
commit a50b64f762

View File

@@ -9,12 +9,22 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@dea7810afd9d4c98556c8ec68cf361bd5b648eaa
with:
logger: pretty
# pin installer version as v0.33 and v0.34 break our devbox setup
source-tag: v0.32.3
extra-conf: |
experimental-features = ca-derivations fetch-closure
# flakes nix-command
- name: Install devbox - name: Install devbox
uses: jetify-com/devbox-install-action@v0.12.0 uses: jetify-com/devbox-install-action@v0.12.0
with: with:
project-path: './src' project-path: './src'
enable-cache: true enable-cache: true
devbox-version: 0.13.4 devbox-version: 0.13.4
skip-nix-installation: true
- name: Run arbitrary commands - name: Run arbitrary commands
run: devbox run -- echo "done" run: devbox run -- echo "done"