Add CI to check the nix development environment builds successfully

This commit is contained in:
Andrew Morgan 2023-07-14 14:39:06 +01:00
parent 20ae617d14
commit 68b7e8ce72
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
name: "Build the nix development environment"
on:
pull_request:
push:
jobs:
build_dev_env:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac # v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix develop --impure