remove unnecessary IFD + add auto updates & testing #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test modules | |
on: | |
push: | |
paths: | |
- 'modules/**' | |
- 'test.nix' | |
- 'flake.*' | |
pull_request: | |
paths: | |
- 'modules/**' | |
- 'test.nix' | |
- 'flake.*' | |
workflow_dispatch: | |
jobs: | |
run-vm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v20 | |
with: | |
extra_nix_config: "system-features = benchmark big-parallel kvm nixos-test uid-range" | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Run VM | |
run: nix build -Lv .#tests.x86_64-linux.modules |