ci: add flake validation job before staging VM provisioning

This commit is contained in:
Tibo De Peuter 2026-07-17 22:22:39 +02:00
parent 2960480557
commit 7b59f88c48
Signed by: tdpeuter
SSH key fingerprint: SHA256:u/h/LVoqKF1Iz02uOyxe6hcjmoZASCGV2HM0TG9ZMoU

View file

@ -5,8 +5,24 @@ on:
types: [opened, synchronize, closed]
jobs:
validate-flake:
runs-on: self-hosted
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
extra_nix_config: |
experimental-features = nix-command flakes
- name: Validate Flake
run: nix flake check
manage-staging:
runs-on: self-hosted
needs: validate-flake
steps:
- name: Checkout Repository
uses: actions/checkout@v4