mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 01:33:55 -05:00
github: use magix nix cache
This commit is contained in:
parent
98aaa97429
commit
34a837a0da
1
.github/workflows/flake-update.yml
vendored
1
.github/workflows/flake-update.yml
vendored
|
@ -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 }}
|
||||
|
|
2
.github/workflows/nix-check.yml
vendored
2
.github/workflows/nix-check.yml
vendored
|
@ -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
|
||||
|
|
5
.github/workflows/nix-drybuild.yml
vendored
5
.github/workflows/nix-drybuild.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue