github: use magix nix cache

This commit is contained in:
Aly Raffauf 2024-07-15 08:22:10 -04:00
parent 98aaa97429
commit 34a837a0da
3 changed files with 8 additions and 0 deletions

View file

@ -16,6 +16,7 @@ jobs:
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/update-flake-lock@main
with:
token: ${{ secrets.FLAKE_UPDATE_PAT }}

View file

@ -13,6 +13,7 @@ jobs:
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check formatting
run: nix fmt -- -c .
eval-check:
@ -22,5 +23,6 @@ jobs:
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check flake evaluation
run: nix flake check

View file

@ -13,6 +13,7 @@ jobs:
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Drybuild fallarbor
run: nix build --dry-run .#nixosConfigurations.fallarbor.config.system.build.toplevel
lavaridge-drybuild:
@ -22,6 +23,7 @@ jobs:
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Drybuild lavaridge
run: nix build --dry-run .#nixosConfigurations.lavaridge.config.system.build.toplevel
mauville-drybuild:
@ -31,6 +33,7 @@ jobs:
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Drybuild mauville
run: nix build --dry-run .#nixosConfigurations.mauville.config.system.build.toplevel
petalburg-drybuild:
@ -40,6 +43,7 @@ jobs:
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Drybuild petalburg
run: nix build --dry-run .#nixosConfigurations.petalburg.config.system.build.toplevel
rustboro-drybuild:
@ -49,5 +53,6 @@ jobs:
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Drybuild rustboro
run: nix build --dry-run .#nixosConfigurations.rustboro.config.system.build.toplevel