Added a toolcache to all action, hopefully it works
All checks were successful
Check config / build (push) Successful in 9m45s

This commit is contained in:
Alexandre 2026-06-27 15:25:40 +02:00
parent e53c367ab5
commit a2774bd3f8
3 changed files with 12 additions and 6 deletions

View File

@ -7,6 +7,8 @@ on:
jobs:
build:
env:
RUNNER_TOOL_CACHE: /toolcache
runs-on: ubuntu-latest
permissions:
contents: read

View File

@ -10,14 +10,16 @@ on:
jobs:
build:
env:
RUNNER_TOOL_CACHE: /toolcache
runs-on: ubuntu-latest
steps:
- name: Install nix
uses: DeterminateSystems/nix-installer-action@main
uses: DeterminateSystems/nix-installer-action@main
- name: Checkout
uses: actions/checkout@v4
- name: Check flake
run : nix flake check
run: nix flake check

View File

@ -8,6 +8,8 @@ on:
jobs:
bump:
runs-on: ubuntu-latest
env:
RUNNER_TOOL_CACHE: /toolcache
steps:
- name: Install nix
@ -21,6 +23,6 @@ jobs:
- name: Build bumped flake (only one host)
run: nix build .\#nixosConfigurations.FW16.config.system.build.toplevel
- name: Check bumped flake
run: nix flake check