configuration.nix/.forgejo/workflows/check.yml

19 lines
486 B
YAML
Raw Normal View History

2024-06-08 22:28:27 +02:00
on: [push]
jobs:
check:
runs-on: nixos
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- run: nix --version
- run: nix flake check --keep-going
build:
runs-on: nixos
strategy:
matrix:
machine:
- vm
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- run: nix --version
- run: nix build --print-build-logs '.#nixosConfigurations.${{ matrix.machine }}.config.system.build.toplevel'