diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml new file mode 100644 index 00000000..0d525607 --- /dev/null +++ b/.github/workflows/nix.yml @@ -0,0 +1,28 @@ +on: + push: + pull_request: + merge_group: + schedule: + - cron: '0 18 * * *' + +name: Nix +permissions: + contents: read + +jobs: + flake: + name: Nix Flake + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + persist-credentials: false + + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@main + + - name: Setup Nix Caching + uses: DeterminateSystems/magic-nix-cache-action@main + + - name: Check Flake & Outputs + run: nix flake check --all-systems