From 944f0636f7a9afc31a25cb18c1aa632c0920a824 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Tue, 19 Mar 2024 00:21:04 +0100 Subject: [PATCH] Set up CI --- .github/workflows/main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..dd4058f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +name: CI +on: + pull_request: + branches: + - main + push: + branches: + - main + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: cachix/install-nix-action@v26 + + - name: build + run: nix-build -A build -A shell -A checks