From e4fbcf8c95aef64566014bc31cc3b76ef9eb527f Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Fri, 13 Sep 2024 09:48:57 -0700 Subject: [PATCH] ci: disable GHA cache We have FlakeHub Cache, which is not ratelimited, and our release process uses GHA to store the artifacts, so hitting the rate limit means we can't release. --- .github/workflows/action.yml | 2 ++ .github/workflows/build.yaml | 4 ++++ .github/workflows/flakehub-publish-rolling.yml | 2 ++ .github/workflows/production-test.yml | 2 ++ 4 files changed, 10 insertions(+) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index e564eada..dcbcd4d6 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -16,6 +16,8 @@ jobs: - uses: actions/checkout@v4 - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main + with: + use-gha-cache: false - name: Install pnpm dependencies run: nix develop --command pnpm install - name: Check formatting diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 73f50b72..0fe306af 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -21,6 +21,8 @@ jobs: - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main + with: + use-gha-cache: false - name: "Nix formatting" run: git ls-files '*.nix' | nix develop --command xargs nixpkgs-fmt --check @@ -64,6 +66,8 @@ jobs: - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main + with: + use-gha-cache: false - name: Build package run: "nix build .# -L --fallback" diff --git a/.github/workflows/flakehub-publish-rolling.yml b/.github/workflows/flakehub-publish-rolling.yml index 7e89a679..aac1b350 100644 --- a/.github/workflows/flakehub-publish-rolling.yml +++ b/.github/workflows/flakehub-publish-rolling.yml @@ -15,6 +15,8 @@ jobs: - uses: "actions/checkout@v3" - uses: "DeterminateSystems/nix-installer-action@main" - uses: "DeterminateSystems/magic-nix-cache-action@main" + with: + use-gha-cache: false - uses: "DeterminateSystems/flakehub-push@main" with: name: "DeterminateSystems/flakehub-push" diff --git a/.github/workflows/production-test.yml b/.github/workflows/production-test.yml index 60b27783..cea6240e 100644 --- a/.github/workflows/production-test.yml +++ b/.github/workflows/production-test.yml @@ -31,6 +31,8 @@ jobs: - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main + with: + use-gha-cache: false - uses: actions/download-artifact@v4.1.7 with: