mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-17 20:52:09 -08:00
24 lines
690 B
YAML
24 lines
690 B
YAML
name: Check flake
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-22.04
|
|
permissions:
|
|
contents: read
|
|
id-token: write
|
|
steps:
|
|
- name: Free Disk Space (Ubuntu)
|
|
uses: jlumbroso/free-disk-space@v1.3.1
|
|
- uses: actions/checkout@v4
|
|
- name: Check Nix flake Nixpkgs inputs
|
|
uses: DeterminateSystems/flake-checker-action@main
|
|
- uses: DeterminateSystems/nix-installer-action@main
|
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
- name: Build select system configurations.
|
|
run: |
|
|
# nix flake check --all-systems
|
|
nix build .#nixosConfigurations.demeter.config.system.build.toplevel
|