545231cf22
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
28 lines
598 B
YAML
28 lines
598 B
YAML
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@v4
|
|
- 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 .#checks.x86_64-linux.module-vm-test
|