fix(ci): measure the free space of a runner before deleting toolchains from it

This commit is contained in:
LGUG2Z committed 2026-11-06 09:41:31 -08:00
1 parent 865ffcebda
commit 9c5f0c459f
4 files changed
+28 -13

No files matched your search

+2 -3
View File
@@ -179,7 +179,6 @@ jobs:
- uses: actions/checkout@v6
- uses: ./.github/actions/nix
with:
free-disk: "true"
swap: "true"
cachix-cache: ${{ vars.CACHIX_CACHE }}
cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}
@@ -210,7 +209,7 @@ jobs:
- uses: actions/checkout@v6
- uses: ./.github/actions/nix
with:
free-disk: "true"
disk-needed-gb: "20"
cachix-cache: ${{ vars.CACHIX_CACHE }}
cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix build -L --no-link .#checkSets.${{ matrix.set }}
@@ -247,7 +246,7 @@ jobs:
- uses: actions/checkout@v6
- uses: ./.github/actions/nix
with:
free-disk: "true"
disk-needed-gb: "20"
cachix-cache: ${{ vars.CACHIX_CACHE }}
cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix build -L --no-link .#checkSets.${{ matrix.set }}
+2 -2
View File
@@ -72,7 +72,7 @@ jobs:
- uses: actions/checkout@v6
- uses: ./.github/actions/nix
with:
free-disk: "true"
disk-needed-gb: "30"
swap: "true"
cachix-cache: ${{ vars.CACHIX_CACHE }}
cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}
@@ -89,7 +89,7 @@ jobs:
- uses: actions/checkout@v6
- uses: ./.github/actions/nix
with:
free-disk: "true"
disk-needed-gb: "30"
swap: "true"
cachix-cache: ${{ vars.CACHIX_CACHE }}
cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}
-1
View File
@@ -26,7 +26,6 @@ jobs:
- uses: ./.github/actions/nix
with:
kvm: "true"
free-disk: "true"
cachix-cache: ${{ vars.CACHIX_CACHE }}
cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Download the evaluation ISO