From 9d1181162a2d4a897cb97fe447ef9345aeddbffe Mon Sep 17 00:00:00 2001 From: Einherjar Date: Mon, 23 Oct 2023 15:10:16 -0300 Subject: [PATCH] ci: move to DeterminateSystems/magic-nix-cache-action --- .github/workflows/code_coverage.yml | 6 +----- .github/workflows/cont_integration.yml | 6 +----- .github/workflows/nightly_docs.yml | 6 +----- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/code_coverage.yml b/.github/workflows/code_coverage.yml index e17ac008d5..32d18f2123 100644 --- a/.github/workflows/code_coverage.yml +++ b/.github/workflows/code_coverage.yml @@ -12,11 +12,7 @@ jobs: - name: Install Nix uses: DeterminateSystems/nix-installer-action@v5 # Cache Nix artifacts - - uses: cachix/cachix-action@v12 - with: - name: bitcoindevkit - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - continue-on-error: true # for forks outside of bitcoindevkit GH org + - uses: DeterminateSystems/magic-nix-cache-action@v2 # Code Coverage - name: Code Coverage run: nix build -L .#ci.codeCoverage diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index 3b5eb01431..f9b7808eb0 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -23,11 +23,7 @@ jobs: - name: Install Nix uses: DeterminateSystems/nix-installer-action@v5 # Cache Nix artifacts - - uses: cachix/cachix-action@v12 - with: - name: bitcoindevkit - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - continue-on-error: true # for forks outside of bitcoindevkit GH org + - uses: DeterminateSystems/magic-nix-cache-action@v2 # Commit checks - name: Pre-commit checks run: nix build -L .#ci.pre-commit-check --keep-failed diff --git a/.github/workflows/nightly_docs.yml b/.github/workflows/nightly_docs.yml index 7b9fc36be5..974841d396 100644 --- a/.github/workflows/nightly_docs.yml +++ b/.github/workflows/nightly_docs.yml @@ -12,11 +12,7 @@ jobs: - name: Install Nix uses: DeterminateSystems/nix-installer-action@v5 # Cache Nix artifacts - - uses: cachix/cachix-action@v12 - with: - name: bitcoindevkit - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - continue-on-error: true # for forks outside of bitcoindevkit GH org + - uses: DeterminateSystems/magic-nix-cache-action@v2 - name: Build docs run: nix develop -L .#docsNightly --command bash -c "cargo doc --no-deps" - name: Upload artifact