nixos-hypervisor/.forgejo/workflows/flake-check.yml

20 lines
534 B
YAML
Raw Permalink Normal View History

---
on: push
jobs:
nix_build:
name: Build Nix targets
2024-10-24 11:16:55 +02:00
runs-on: docker
container:
2024-10-24 11:48:07 +02:00
image: node:20
options: --user root
steps:
2024-10-24 11:24:32 +02:00
- uses: actions/checkout@v4
2024-10-24 12:05:45 +02:00
- name: Check Nix flake.lock for old pkgs / deps
2024-10-24 11:19:40 +02:00
uses: https://github.com/DeterminateSystems/flake-checker-action@v5
2024-10-24 11:52:45 +02:00
- name: Install Nix
2024-10-24 11:56:14 +02:00
uses: https://github.com/DeterminateSystems/nix-installer-action@main
with:
init: none
2024-10-24 12:05:45 +02:00
- name: Check flake
2024-10-24 12:08:08 +02:00
run: nix flake check --quiet --show-trace