summary refs log tree commit diff
path: root/.github/workflows/nix-build.yml
blob: 29f69175e26b047483a803b7680b4184042c1508 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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