mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 04:51: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.name "github-actions[bot]"
|
||||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
- uses: DeterminateSystems/update-flake-lock@main
|
- uses: DeterminateSystems/update-flake-lock@main
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.FLAKE_UPDATE_PAT }}
|
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:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
run: nix fmt -- -c .
|
run: nix fmt -- -c .
|
||||||
eval-check:
|
eval-check:
|
||||||
|
@ -22,5 +23,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
- name: Check flake evaluation
|
- name: Check flake evaluation
|
||||||
run: nix flake check
|
run: nix flake check
|
||||||
|
|
5
.github/workflows/nix-drybuild.yml
vendored
5
.github/workflows/nix-drybuild.yml
vendored
|
@ -13,6 +13,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
- name: Drybuild fallarbor
|
- name: Drybuild fallarbor
|
||||||
run: nix build --dry-run .#nixosConfigurations.fallarbor.config.system.build.toplevel
|
run: nix build --dry-run .#nixosConfigurations.fallarbor.config.system.build.toplevel
|
||||||
lavaridge-drybuild:
|
lavaridge-drybuild:
|
||||||
|
@ -22,6 +23,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
- name: Drybuild lavaridge
|
- name: Drybuild lavaridge
|
||||||
run: nix build --dry-run .#nixosConfigurations.lavaridge.config.system.build.toplevel
|
run: nix build --dry-run .#nixosConfigurations.lavaridge.config.system.build.toplevel
|
||||||
mauville-drybuild:
|
mauville-drybuild:
|
||||||
|
@ -31,6 +33,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
- name: Drybuild mauville
|
- name: Drybuild mauville
|
||||||
run: nix build --dry-run .#nixosConfigurations.mauville.config.system.build.toplevel
|
run: nix build --dry-run .#nixosConfigurations.mauville.config.system.build.toplevel
|
||||||
petalburg-drybuild:
|
petalburg-drybuild:
|
||||||
|
@ -40,6 +43,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
- name: Drybuild petalburg
|
- name: Drybuild petalburg
|
||||||
run: nix build --dry-run .#nixosConfigurations.petalburg.config.system.build.toplevel
|
run: nix build --dry-run .#nixosConfigurations.petalburg.config.system.build.toplevel
|
||||||
rustboro-drybuild:
|
rustboro-drybuild:
|
||||||
|
@ -49,5 +53,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
- name: Drybuild rustboro
|
- name: Drybuild rustboro
|
||||||
run: nix build --dry-run .#nixosConfigurations.rustboro.config.system.build.toplevel
|
run: nix build --dry-run .#nixosConfigurations.rustboro.config.system.build.toplevel
|
||||||
|
|
Loading…
Reference in a new issue