33 lines
743 B
YAML
33 lines
743 B
YAML
name: "Nix Flake Check"
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- .github/**
|
|
concurrency:
|
|
group: ooknet-check-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
nix-flake-check:
|
|
name: Check Flake
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
# Get access to kunzen
|
|
- name: Setup SSH
|
|
uses: webfactory/ssh-agent@v0.9.0
|
|
with:
|
|
ssh-private-key: ${{ secrets.KUNZEN_DEPLOY_KEY }}
|
|
|
|
- name: Setup Nix
|
|
uses: DeterminateSystems/nix-installer-action@main
|
|
|
|
- name: Magic Nix Cache
|
|
uses: DeterminateSystems/magic-nix-cache-action@main
|
|
|
|
- name: Nix Flake
|
|
run: nix flake check
|