nixos-hypervisor/.forgejo/workflows/flake-check.yml
Théo Barnouin d796b787b8
All checks were successful
/ Build Nix targets (push) Successful in 2m29s
CI test: run nix flake check on CI
2024-10-24 12:08:08 +02:00

19 lines
534 B
YAML

---
on: push
jobs:
nix_build:
name: Build Nix targets
runs-on: docker
container:
image: node:20
options: --user root
steps:
- uses: actions/checkout@v4
- name: Check Nix flake.lock for old pkgs / deps
uses: https://github.com/DeterminateSystems/flake-checker-action@v5
- name: Install Nix
uses: https://github.com/DeterminateSystems/nix-installer-action@main
with:
init: none
- name: Check flake
run: nix flake check --quiet --show-trace