Skip to content

Commit

Permalink
ci: disable GHA cache
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cole-h committed Sep 13, 2024
1 parent 41a7d04 commit e4fbcf8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
2 changes: 2 additions & 0 deletions .github/workflows/flakehub-publish-rolling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/production-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e4fbcf8

Please sign in to comment.