This commit is contained in:
@@ -11,19 +11,21 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
validate:
|
validate:
|
||||||
runs-on: native
|
runs-on: nixos
|
||||||
steps:
|
steps:
|
||||||
- name: Debug environment
|
- name: Debug environment
|
||||||
run: |
|
run: |
|
||||||
echo $PATH
|
echo $PATH
|
||||||
|
nix-shell -p nix nodejs-slim which
|
||||||
which nix || echo "Nix not found"
|
which nix || echo "Nix not found"
|
||||||
|
which node || echo "node not found"
|
||||||
|
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Validate NixOS configuration
|
- name: Validate NixOS configuration
|
||||||
run: |
|
run: |
|
||||||
node --version
|
|
||||||
nix flake check
|
nix flake check
|
||||||
nix build .#nixosConfigurations.nixbox.config.system.build.toplevel --dry-run
|
nix build .#nixosConfigurations.nixbox.config.system.build.toplevel --dry-run
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user