Skip to content

Auto PR: next → main #1921

Auto PR: next → main

Auto PR: next → main #1921

Workflow file for this run

name: Check Nix flake
on:
pull_request:
push:
branches:
- main
paths:
- "flake.lock"
- "**/*.nix"
workflow_dispatch: # allow manual trigger
jobs:
check-flake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup SSH for private flake inputs
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Add GitHub to known hosts
run: ssh-keyscan github.com >> ~/.ssh/known_hosts
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/flakehub-cache-action@main
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v12
with:
fail-mode: true
send-statistics: false
- name: Run nix flake check
run: nix flake check