ci: use treefmt for all checks (#15) #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build nixos system | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| nix-matrix: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| matrix: ${{ steps.set-matrix.outputs.matrix }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: cachix/install-nix-action@v30 | |
| - uses: cachix/cachix-action@v15 | |
| with: | |
| name: kidibox | |
| authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
| - id: set-matrix | |
| name: Generate Nix Matrix | |
| run: | | |
| nix build .nixosConfigurations.nixos.config.system.build.toplevel |