From 68b7e8ce72280089f29a060ad03ba0258eb2f9ba Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Fri, 14 Jul 2023 14:39:06 +0100 Subject: [PATCH] Add CI to check the nix development environment builds successfully --- .github/workflows/development-environment.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/development-environment.yml diff --git a/.github/workflows/development-environment.yml b/.github/workflows/development-environment.yml new file mode 100644 index 0000000000..b83522f95f --- /dev/null +++ b/.github/workflows/development-environment.yml @@ -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 \ No newline at end of file