From 8d9c1bf62415c6bcc582693e0fa31afda29ac8f1 Mon Sep 17 00:00:00 2001 From: Hugo McNally Date: Thu, 14 Dec 2023 16:14:04 +0000 Subject: [PATCH] Added CI checks Signed-off-by: Hugo McNally --- .github/workflows/quality.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/quality.yml diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml new file mode 100644 index 0000000..5dab2c4 --- /dev/null +++ b/.github/workflows/quality.yml @@ -0,0 +1,23 @@ +name: Quality + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +jobs: + checks: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v3 + + - name: Install Nix + uses: cachix/install-nix-action@v24 + + - name: Nix Format Check + run: nix fmt -- . --check + + - name: Nix Syntax Check + run: nix flake check