From cf791469d89cdbcd600395306b75765d389ca702 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 24 Jan 2025 00:25:57 +0900 Subject: [PATCH] workflows: gc store and purge old caches Signed-off-by: Ophestra --- .gitea/workflows/test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 432c429..970759d 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -32,6 +32,11 @@ jobs: with: primary-key: flake-check-${{ runner.os }}-${{ hashFiles('**/*.nix') }} restore-prefixes-first-match: flake-check-${{ runner.os }}- + gc-max-store-size-linux: 1073741824 + purge: true + purge-prefixes: flake-check-${{ runner.os }}- + purge-created: 60 + purge-primary-key: never - name: Run tests run: | @@ -72,6 +77,11 @@ jobs: with: primary-key: build-dist-${{ runner.os }}-${{ hashFiles('**/*.nix') }} restore-prefixes-first-match: build-dist-${{ runner.os }}- + gc-max-store-size-linux: 1073741824 + purge: true + purge-prefixes: build-dist-${{ runner.os }}- + purge-created: 60 + purge-primary-key: never - name: Build for test id: build-test