ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/

update caches for github actions

authored by

marshmallow and committed by
marshmallow
ee41e8e9 1a9bcd59

+3 -21
+3 -7
.github/actions/setup-nix/action.yml
··· 4 4 Sets up the Nix environment for wire, removing unnecessary bloat and installing Nix along with proper 5 5 substituters being set 6 6 inputs: 7 - cachixToken: 8 - description: Cachix token 9 - required: true 10 7 withQEMU: 11 8 description: Enable QEMU 12 9 default: false ··· 28 25 echo "extra-platforms = aarch64-linux i686-linux" 29 26 fi 30 27 28 + echo "substituters = https://cache.nixos.org?priority=1 https://cache.althaea.zone?priority=2 https://cache.garnix.io?priority=3" 29 + echo "trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g= cache.althaea.zone:BelRpa863X9q3Y+AOnl5SM7QFzre3qb+5I7g2s/mqHI=" 30 + 31 31 echo EOF 32 32 } >> "$GITHUB_OUTPUT" 33 33 - uses: cachix/install-nix-action@v31 ··· 48 48 shell: bash 49 49 run: | 50 50 cat /proc/sys/fs/binfmt_misc/qemu-aarch64 51 - - uses: cachix/cachix-action@v16 52 - with: 53 - name: wires 54 - authToken: "${{ inputs.cachixToken }}"
-2
.github/workflows/autofix.yml
··· 27 27 steps: 28 28 - uses: actions/checkout@v6 29 29 - uses: ./.github/actions/setup-nix 30 - with: 31 - cachixToken: ${{ secrets.CACHIX_AUTH_TOKEN }} 32 30 - name: Cache Cargo 33 31 uses: actions/cache@v4 34 32 with:
-2
.github/workflows/follow-nixpkgs.yml
··· 27 27 ssh-key: ${{ secrets.FOLLOW_NIXPKGS_PRIVATE_KEY }} 28 28 ref: main 29 29 - uses: ./.github/actions/setup-nix 30 - with: 31 - cachixToken: ${{ secrets.CACHIX_AUTH_TOKEN }} 32 30 - run: | 33 31 git config user.name 'github-actions[bot]' 34 32 git config user.email 'github-actions[bot]@users.noreply.github.com'
-2
.github/workflows/pages.yml
··· 24 24 steps: 25 25 - uses: actions/checkout@v6 26 26 - uses: ./.github/actions/setup-nix 27 - with: 28 - cachixToken: ${{ secrets.CACHIX_AUTH_TOKEN }} 29 27 - run: nix build .#docs 30 28 if: github.ref == 'refs/heads/stable' 31 29 - run: nix build .#docs-unstable
-6
.github/workflows/pr-preview.yml
··· 37 37 with: 38 38 ref: ${{ needs.base-ref.outputs.base-ref }} 39 39 - uses: ./.github/actions/setup-nix 40 - with: 41 - cachixToken: ${{ secrets.CACHIX_AUTH_TOKEN }} 42 40 - id: drv 43 41 run: echo "drv=$(nix eval .#docs --json)" >> "$GITHUB_OUTPUT" 44 42 eval-head: ··· 50 48 steps: 51 49 - uses: actions/checkout@v6 52 50 - uses: ./.github/actions/setup-nix 53 - with: 54 - cachixToken: ${{ secrets.CACHIX_AUTH_TOKEN }} 55 51 - id: drv 56 52 run: echo "drv=$(nix eval .#docs --json)" >> "$GITHUB_OUTPUT" 57 53 deploy: ··· 68 64 steps: 69 65 - uses: actions/checkout@v6 70 66 - uses: ./.github/actions/setup-nix 71 - with: 72 - cachixToken: ${{ secrets.CACHIX_AUTH_TOKEN }} 73 67 - run: nix build .#docs 74 68 - name: Deploy to Cloudflare Pages 75 69 id: deployment
-2
.github/workflows/test.yml
··· 24 24 steps: 25 25 - uses: actions/checkout@v6 26 26 - uses: ./.github/actions/setup-nix 27 - with: 28 - cachixToken: ${{ secrets.CACHIX_AUTH_TOKEN }} 29 27 - name: Build Tests 30 28 run: nix build .#cargo-tests -L -vv 31 29 - name: Cargo Tests