diff --git a/.github/workflows/image.yaml b/.github/workflows/image.yaml index cf173aa3d..d0b6e8ac5 100644 --- a/.github/workflows/image.yaml +++ b/.github/workflows/image.yaml @@ -27,12 +27,13 @@ jobs: DeterminateSystems/nix-installer-action@5620eb4af6b562c53e4d4628c0b6e4f9d9ae8612 with: github-token: ${{ secrets.GITHUB_TOKEN }} + # TODO(aaronmondal): Remove after: + # https://github.com/DeterminateSystems/nix-installer/pull/820 + nix-installer-pr: 820 - # TODO(aaronmondal): Caching is flaky for this workflow. - # See: https://github.com/DeterminateSystems/magic-nix-cache/issues/32 - # - name: Cache Nix derivations - # uses: >- # Custom commit, last pinned at 2023-11-17. - # DeterminateSystems/magic-nix-cache-action@a04e6275a6bea232cd04fc6f3cbf20d4cb02a3e1 + - name: Cache Nix derivations + uses: >- # Custom commit, last pinned at 2023-11-17. + DeterminateSystems/magic-nix-cache-action@a04e6275a6bea232cd04fc6f3cbf20d4cb02a3e1 - name: Test image run: | diff --git a/.github/workflows/lre.yaml b/.github/workflows/lre.yaml index 9ed8dd8ae..9a564a41b 100644 --- a/.github/workflows/lre.yaml +++ b/.github/workflows/lre.yaml @@ -26,6 +26,11 @@ jobs: - name: Install Nix uses: >- #v7 DeterminateSystems/nix-installer-action@5620eb4af6b562c53e4d4628c0b6e4f9d9ae8612 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + # TODO(aaronmondal): Remove after: + # https://github.com/DeterminateSystems/nix-installer/pull/820 + nix-installer-pr: 820 - name: Cache Nix derivations uses: >- # Custom commit, last pinned at 2023-11-17. @@ -54,12 +59,15 @@ jobs: - name: Install Nix uses: >- #v7 DeterminateSystems/nix-installer-action@5620eb4af6b562c53e4d4628c0b6e4f9d9ae8612 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + # TODO(aaronmondal): Remove after: + # https://github.com/DeterminateSystems/nix-installer/pull/820 + nix-installer-pr: 820 - # TODO(aaronmondal): Caching is flaky for this workflow. - # See: https://github.com/DeterminateSystems/magic-nix-cache/issues/32 - # - name: Cache Nix derivations - # uses: >- # Custom commit, last pinned at 2023-11-17. - # DeterminateSystems/magic-nix-cache-action@a04e6275a6bea232cd04fc6f3cbf20d4cb02a3e1 + - name: Cache Nix derivations + uses: >- # Custom commit, last pinned at 2023-11-17. + DeterminateSystems/magic-nix-cache-action@a04e6275a6bea232cd04fc6f3cbf20d4cb02a3e1 - name: Start Kubernetes cluster (Infra) run: > diff --git a/.github/workflows/nix.yaml b/.github/workflows/nix.yaml index 820218d47..688e6aa06 100644 --- a/.github/workflows/nix.yaml +++ b/.github/workflows/nix.yaml @@ -26,6 +26,11 @@ jobs: - name: Install Nix uses: >- #v7 DeterminateSystems/nix-installer-action@5620eb4af6b562c53e4d4628c0b6e4f9d9ae8612 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + # TODO(aaronmondal): Remove after: + # https://github.com/DeterminateSystems/nix-installer/pull/820 + nix-installer-pr: 820 - name: Cache Nix derivations uses: >- # Custom commit, last pinned at 2023-11-17. @@ -58,6 +63,11 @@ jobs: - name: Install Nix uses: >- #v7 DeterminateSystems/nix-installer-action@5620eb4af6b562c53e4d4628c0b6e4f9d9ae8612 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + # TODO(aaronmondal): Remove after: + # https://github.com/DeterminateSystems/nix-installer/pull/820 + nix-installer-pr: 820 - name: Cache Nix derivations uses: >- # Custom commit, last pinned at 2023-11-17. diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index f203ebaf9..927b87bb9 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -20,6 +20,12 @@ jobs: - name: Install Nix uses: >- #v7 DeterminateSystems/nix-installer-action@5620eb4af6b562c53e4d4628c0b6e4f9d9ae8612 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + # TODO(aaronmondal): Remove after: + # https://github.com/DeterminateSystems/nix-installer/pull/820 + nix-installer-pr: 820 + - name: Cache Nix derivations uses: >- # Custom commit, last pinned at 2023-11-17. DeterminateSystems/magic-nix-cache-action@a04e6275a6bea232cd04fc6f3cbf20d4cb02a3e1 diff --git a/.github/workflows/tagged_image.yaml b/.github/workflows/tagged_image.yaml index 67dc3f65c..9cca30bbe 100644 --- a/.github/workflows/tagged_image.yaml +++ b/.github/workflows/tagged_image.yaml @@ -24,6 +24,9 @@ jobs: DeterminateSystems/nix-installer-action@5620eb4af6b562c53e4d4628c0b6e4f9d9ae8612 with: github-token: ${{ secrets.GITHUB_TOKEN }} + # TODO(aaronmondal): Remove after: + # https://github.com/DeterminateSystems/nix-installer/pull/820 + nix-installer-pr: 820 - name: Test image run: |