A flake checker (treefmt & nix-unit) for testing other flakes with zero dependencies.

Add template CI

Changed files
+12 -1
templates
default
.github
workflows
+1 -1
README.md
··· 6 6 7 7 - nix-unit - The flake being checked (ie, `inputs.target`) is expected to expose `flakeModules.checkmate`: 8 8 9 - ````nix 9 + ```nix 10 10 # Example 11 11 flakeModules.checkmate = 12 12 { inputs, ... }:
+11
templates/default/.github/workflows/test.yml
··· 1 + on: 2 + pull_request: 3 + push: 4 + branches: [main] 5 + jobs: 6 + flake-check: 7 + name: nix flake check 8 + runs-on: ubuntu-latest 9 + steps: 10 + - uses: cachix/install-nix-action@v30 11 + - run: nix flake check -L github:vic/checkmate --override-input target github:$GITHUB_REPOSITORY/$GITHUB_SHA