name: CI on: push: #env: # ATTIC_AUTH_TOKEN: ${{ secrets.ATTIC_AUTH_TOKEN }} jobs: build: runs-on: nix steps: - name: Initialize CI uses: https://git.qo.is/qo.is/actions-nix-init@main with: token: ${{ secrets.CI_TOKEN }} lfs: false #- name: Add submodules to nix store to circumvent another nix bug # run: | # git clone https://git.qo.is/qo.is/infrastructure-private.git /tmp/private # cd /tmp/private # nix flake prefetch #- name: Use attic cache # run: nix run .#cache use - name: Build run: | nix build --max-jobs 12 --cores 12 #nix run .#cache push - name: Run Checks run: nix flake check