ci(nix): flakehub -> magic-nix-cache & gha cache

This will help us avoid `pull_request_target`, etc.

Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
Seth Flynn 2025-09-21 16:22:38 -04:00
parent 28b755cf04
commit 7e4a4cfd11
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -91,9 +91,6 @@ jobs:
runs-on: ${{ matrix.os }}
permissions:
id-token: write
steps:
- name: Get merge commit
if: ${{ github.event_name == 'pull_request_target' }}
@ -116,8 +113,11 @@ jobs:
# For PRs
- name: Setup Nix Magic Cache
if: ${{ env.USE_DETERMINATE == 'true' }}
uses: DeterminateSystems/flakehub-cache-action@v2
if: ${{ github.event_name == 'pull_request_target' }}
uses: DeterminateSystems/magic-nix-cache-action@v13
with:
diagnostic-endpoint: ""
use-flakehub: false
# For in-tree builds
- name: Setup Cachix