From 915cbf88a95d7c2ca066a9ca297dd7da6c24b3f0 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 1 Jul 2024 09:39:11 +0200 Subject: [PATCH] chore: use attic nix cache Signed-off-by: Harald Hoyer --- .github/workflows/nix.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 363ea62..4347913 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -22,6 +22,13 @@ jobs: access-tokens = github.com=${{ github.token }} trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= tee-pot:SS6HcrpG87S1M6HZGPsfo7d1xJccCGev7/tXc5+I4jg= substituters = https://cache.nixos.org/ https://attic.teepot.org/tee-pot + sandbox = true + - name: Setup Attic cache + uses: ryanccn/attic-action@v0 + with: + endpoint: https://attic.teepot.org/ + cache: tee-pot + token: ${{ secrets.ATTIC_TOKEN }} - name: Enable magic Nix cache uses: DeterminateSystems/magic-nix-cache-action@main @@ -38,6 +45,13 @@ jobs: access-tokens = github.com=${{ github.token }} trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= tee-pot:SS6HcrpG87S1M6HZGPsfo7d1xJccCGev7/tXc5+I4jg= substituters = https://cache.nixos.org/ https://attic.teepot.org/tee-pot + sandbox = true + - name: Setup Attic cache + uses: ryanccn/attic-action@v0 + with: + endpoint: https://attic.teepot.org/ + cache: tee-pot + token: ${{ secrets.ATTIC_TOKEN }} - name: Enable magic Nix cache uses: DeterminateSystems/magic-nix-cache-action@main @@ -70,6 +84,13 @@ jobs: access-tokens = github.com=${{ github.token }} trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= tee-pot:SS6HcrpG87S1M6HZGPsfo7d1xJccCGev7/tXc5+I4jg= substituters = https://cache.nixos.org/ https://attic.teepot.org/tee-pot + sandbox = true + - name: Setup Attic cache + uses: ryanccn/attic-action@v0 + with: + endpoint: https://attic.teepot.org/ + cache: tee-pot + token: ${{ secrets.ATTIC_TOKEN }} - name: Enable magic Nix cache uses: DeterminateSystems/magic-nix-cache-action@main