30 lines
711 B
YAML
30 lines
711 B
YAML
name: Test NaxOS Module Configurations
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
test-modules:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Nix
|
|
uses: cachix/install-nix-action@v27
|
|
with:
|
|
extra_nix_config: |
|
|
experimental-features = nix-command flakes
|
|
|
|
- name: Evaluate Flake Outputs & Check Syntax
|
|
run: |
|
|
nix flake show
|
|
nix flake check --all-systems
|
|
|
|
- name: Validate Appliance System Configuration Evaluation
|
|
run: |
|
|
nix eval .#nixosConfigurations.naxos.config.system.build.toplevel.drvPath
|