summary refs log tree commit diff
path: root/.github/workflows/nix-build.yml
blob: fae1736c396bee89eefff6fef52285c3f8105d90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: Nix build

on:
  push:
  pull_request:

jobs:
  build-nix:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v5
    - uses: cachix/install-nix-action@v31
      with:
        nix_path: nixpkgs=channel:nixos-unstable
    - uses: DeterminateSystems/magic-nix-cache-action@v13
    - run: nix build -L
    - run: nix develop --command echo OK
    - run: nix flake check -vL