configuration.nix/.forgejo/workflows/check.yml
Jalil David Salamé Messina 498aedacd4
All checks were successful
/ check (push) Successful in 52s
/ build (vm) (push) Successful in 8m17s
[feat] ci: add forgejo actions
2024-06-08 22:29:58 +02:00

20 lines
562 B
YAML

on: [push]
jobs:
check:
runs-on: nixos
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- run: nix --version
- run: nix flake update systems
- 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 flake update systems
- run: nix build --print-build-logs '.#nixosConfigurations.${{ matrix.machine }}.config.system.build.toplevel'