Switch to flakehub-cache-action

This commit is contained in:
Luc Perkins 2025-03-24 20:14:03 -03:00
parent 3a905ca44d
commit 8fa4c519ce
No known key found for this signature in database
GPG key ID: C86EE5D85EE4DDA5
3 changed files with 8 additions and 7 deletions

View file

@ -32,8 +32,8 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install Nix on ${{ matrix.systems.system }} - name: Install Nix on ${{ matrix.systems.system }}
uses: DeterminateSystems/nix-installer-action@main uses: DeterminateSystems/nix-installer-action@main
- name: Magic Nix Cache - name: Set up FlakeHub Cache
uses: DeterminateSystems/magic-nix-cache-action@main uses: DeterminateSystems/flakehub-cache-action@main
- name: Build and cache dev shell for ${{ matrix.systems.nix-system }} - name: Build and cache dev shell for ${{ matrix.systems.nix-system }}
run: | run: |

View file

@ -15,15 +15,16 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check health of flake.lock - name: Check health of flake.lock
uses: DeterminateSystems/flake-checker-action@main uses: DeterminateSystems/flake-checker-action@main
with: with:
fail-mode: true fail-mode: true
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/flakehub-cache-action@main
- name: Check Rust formatting - name: Check Rust formatting
run: nix develop --command cargo fmt --check run: nix develop --command cargo fmt --check

View file

@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install Nix - name: Install Nix
uses: DeterminateSystems/nix-installer-action@main uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main - uses: DeterminateSystems/flakehub-cache-action@main
- name: Expose GitHub Runtime - name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v2 uses: crazy-max/ghaction-github-runtime@v2
- name: Dump credentials - name: Dump credentials