diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml new file mode 100644 index 0000000..b92703b --- /dev/null +++ b/.github/workflows/check.yaml @@ -0,0 +1,25 @@ +name: "Check Codebase" + +on: + pull_request: + workflow_dispatch: + +jobs: + check: + runs-on: "ubuntu-latest" + + steps: + - name: "Checkout Codebase" + uses: "actions/checkout@v4" + + - name: "Install nix" + uses: "cachix/install-nix-action@v26" + with: + nix_path: "nixpkgs=channel:nixos-23.11" + + - name: "Use magic Nix cache" + uses: "DeterminateSystems/magic-nix-cache-action@v4" + + - name: "Check Application" + run: | + nix-shell --pure --run "dev-test-build"