From 222078ba51ebe6b0254ea2963258742891415649 Mon Sep 17 00:00:00 2001 From: Amine Djeghri Date: Sat, 7 Dec 2024 17:05:29 +0100 Subject: [PATCH] :bug: fix github actions not enough space --- .github/workflows/ai_evaluation.yaml | 1 + Makefile | 11 ++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ai_evaluation.yaml b/.github/workflows/ai_evaluation.yaml index 0233de1..ebbd00d 100644 --- a/.github/workflows/ai_evaluation.yaml +++ b/.github/workflows/ai_evaluation.yaml @@ -42,6 +42,7 @@ jobs: shell: bash run: | make install-dev + make clean-uv-cache - name: Install NPM dependencies shell: bash run: | diff --git a/Makefile b/Makefile index c15c686..072c1f3 100644 --- a/Makefile +++ b/Makefile @@ -80,9 +80,14 @@ install-npm-dependencies: install-nvm ####### local CI / CD ######## # uv caching : -cache-uv: - @echo "${YELLOW}=========> Caching uv...${NC}" - @$(UV) cache prune --ci +prune-uv: + @echo "${YELLOW}=========> Prune uv cache...${NC}" + @$(UV) cache prune +# clean uv caching +clean-uv-cache: + @echo "${YELLOW}=========> Cleaning uv cache...${NC}" + @$(UV) cache clean + # Github actions locally install-act: @echo "${YELLOW}=========> Installing github actions act to test locally${NC}"