nixos: 25.05 -> 25.11 #188
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: nix | |
| on: | |
| push: | |
| branches: [main, staging, trying] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| fmt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: cachix/install-nix-action@v31 | |
| - run: nix fmt -- --ci | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: wimpysworld/nothing-but-nix@main | |
| - uses: cachix/install-nix-action@v31 | |
| - uses: ryanccn/attic-action@v0 | |
| with: | |
| endpoint: https://cache.bootstrap.academy/ | |
| cache: infrastructure | |
| # atticd-atticadm make-token --sub github --validity 1y --pull infrastructure --push infrastructure | |
| token: ${{ secrets.ATTIC_TOKEN }} | |
| - run: | | |
| echo >> ~/.config/nix/nix.conf | |
| echo extra-substituters = https://bootstrap-academy.cachix.org https://attic.defelo.de/sandkasten https://cache.bootstrap.academy/academy >> ~/.config/nix/nix.conf | |
| echo extra-trusted-public-keys = bootstrap-academy.cachix.org-1:QoTxaO9Xw868/oefU7MrrkzrbFH9sUCJwWbIqsLCjxs= sandkasten:U7kShJt9A6tZr4pZRAXHmRlxC3nmOGvfviPqKL7hROE= academy:JU67oyd32Kzh7XFkUD/rZ6I3wVT8xMtgghwBvEINGus= >> ~/.config/nix/nix.conf | |
| - run: nix build -L --keep-going .#checks |