From bc57d359d0af1d82d03a12b368b699f9d2fec190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Sainl=C3=A9ger?= Date: Sat, 7 Mar 2026 16:19:45 +0100 Subject: [PATCH] [IMP] activate the use of gitea cache for environment build --- config/.gitea/workflows/pre-commit.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/.gitea/workflows/pre-commit.yml b/config/.gitea/workflows/pre-commit.yml index 61d456b..37d6128 100644 --- a/config/.gitea/workflows/pre-commit.yml +++ b/config/.gitea/workflows/pre-commit.yml @@ -15,10 +15,10 @@ jobs: python-version: "3.11" - name: Get python version run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV - # - uses: actions/cache@v4 - # with: - # path: ~/.cache/pre-commit - # key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} + - uses: actions/cache@v4 + with: + path: ~/.cache/pre-commit + key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} - name: Install pre-commit run: pip install pre-commit - name: Run pre-commit