diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..0c300bf --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,17 @@ +name: "Test template" +on: + pull_request: + push: +jobs: + tests: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + steps: + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v31 + with: + github_access_token: ${{ secrets.GITHUB_TOKEN }} + - run: nix build ./templates/n + - run: nix flake check ./templates/n diff --git a/templates/n/flake.lock b/templates/n/flake.lock index 25bd9f4..39ae245 100644 --- a/templates/n/flake.lock +++ b/templates/n/flake.lock @@ -15,11 +15,11 @@ ] }, "locked": { - "lastModified": 1756169393, - "narHash": "sha256-088/iAKxFGxSCIP5TZvDVtljJIaNXVOp4AjL4iYxF88=", + "lastModified": 1756172107, + "narHash": "sha256-ZeUFExbMaqon+lplHzIF+sXXxNe7+Qi3rdAvHVnL7Ck=", "owner": "dwinkler1", "repo": "nixCatsConfig", - "rev": "1f4d59fc8566681f5fa957dfd57ed1d1311b601a", + "rev": "fa8484c58eedc29bbbc3d910c9dcac298962bcb0", "type": "github" }, "original": {