Newer
Older
percord / .github / workflows / nix-build.yml
@Rory& Rory& on 19 Feb 2024 361 bytes Add nix flake to repo (#1111)
name: Nix build

on:
  push:
  pull_request:

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

    steps:
    - uses: actions/checkout@v4
    - uses: cachix/install-nix-action@v25
      with:
        nix_path: nixpkgs=channel:nixos-unstable
    - uses: DeterminateSystems/magic-nix-cache-action@v2
    - run: nix build -L
    - run: nix develop --command echo OK