summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2023-07-14 14:39:06 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2023-07-14 14:39:06 +0100
commit68b7e8ce72280089f29a060ad03ba0258eb2f9ba (patch)
tree9cbd389a093bfd76835bdf0ccff58d76784e1aed
parentStop accepting 'user' parameter for application service registration. (#15928) (diff)
downloadsynapse-68b7e8ce72280089f29a060ad03ba0258eb2f9ba.tar.xz
Add CI to check the nix development environment builds successfully
-rw-r--r--.github/workflows/development-environment.yml13
1 files changed, 13 insertions, 0 deletions
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