27 lines
516 B
YAML
27 lines
516 B
YAML
name: "Build flake-info"
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "flake.nix"
|
|
- "flake.lock"
|
|
- "flake-info/**"
|
|
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build-flake-info:
|
|
runs-on: nixos-unstable
|
|
steps:
|
|
- name: Checking out the repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Enable flakes
|
|
run: |
|
|
echo 'experimental-features = nix-command flakes' >>/etc/nix/nix.conf
|
|
|
|
- name: Building flake-info
|
|
run: |
|
|
nix --accept-flake-config -vL build .#flake-info
|