name: "nix-check" on: push: paths-ignore: - '.github/**' - '_img/**' workflow_dispatch: jobs: fmt-check: runs-on: ubuntu-latest steps: - uses: actions/checkout@main with: fetch-depth: 1 - name: Install Nix uses: DeterminateSystems/nix-installer-action@main - name: check if flake complies with default style run: nix fmt -- -c . eval-check: runs-on: ubuntu-latest steps: - uses: actions/checkout@main with: fetch-depth: 1 - name: Install Nix uses: DeterminateSystems/nix-installer-action@main - name: check if flake evaluates run: nix flake check