Skip to content

Commit

Permalink
Free up disk space and use the magic cache
Browse files Browse the repository at this point in the history
  • Loading branch information
giodamelio committed Feb 7, 2025
1 parent ec02fbb commit db59d19
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,22 @@ jobs:
name: Run the flake checks
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

Check warning on line 17 in .github/workflows/flake.yml

View workflow job for this annotation

GitHub Actions / Publish every Git push to main to FlakeHub

Magic Nix Cache is deprecated

Magic Nix Cache has been deprecated due to a change in the underlying GitHub APIs and will stop working on 1 February 2025. To continue caching Nix builds in GitHub Actions, use FlakeHub Cache instead. Replace... - uses: DeterminateSystems/magic-nix-cache-action@main ...with... - uses: DeterminateSystems/flakehub-cache-action@main For more details: https://dtr.mn/magic-nix-cache-eol
- name: Run flake check
run: nix flake check

flake-health-checker:
name: Check Flake Health
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: DeterminateSystems/magic-nix-cache-action@main

Check warning on line 26 in .github/workflows/flake.yml

View workflow job for this annotation

GitHub Actions / Publish every Git push to main to FlakeHub

Magic Nix Cache is deprecated

Magic Nix Cache has been deprecated due to a change in the underlying GitHub APIs and will stop working on 1 February 2025. To continue caching Nix builds in GitHub Actions, use FlakeHub Cache instead. Replace... - uses: DeterminateSystems/magic-nix-cache-action@main ...with... - uses: DeterminateSystems/flakehub-cache-action@main For more details: https://dtr.mn/magic-nix-cache-eol
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v4

Expand All @@ -30,6 +36,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

Check warning on line 39 in .github/workflows/flake.yml

View workflow job for this annotation

GitHub Actions / Publish every Git push to main to FlakeHub

Magic Nix Cache is deprecated

Magic Nix Cache has been deprecated due to a change in the underlying GitHub APIs and will stop working on 1 February 2025. To continue caching Nix builds in GitHub Actions, use FlakeHub Cache instead. Replace... - uses: DeterminateSystems/magic-nix-cache-action@main ...with... - uses: DeterminateSystems/flakehub-cache-action@main For more details: https://dtr.mn/magic-nix-cache-eol
- uses: DeterminateSystems/flakehub-push@main
env:
NIXPKGS_ALLOW_UNFREE: 1
Expand Down

0 comments on commit db59d19

Please sign in to comment.