From 5e8788a7d7e1920c81f35d76008f6bab42bc142c Mon Sep 17 00:00:00 2001 From: jscampucci Date: Wed, 17 Sep 2025 15:15:26 +0200 Subject: [PATCH] [WIP] remove cache from pre-commit --- .gitea/workflows/pre-commit.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/pre-commit.yml b/.gitea/workflows/pre-commit.yml index 1385708..51c168d 100644 --- a/.gitea/workflows/pre-commit.yml +++ b/.gitea/workflows/pre-commit.yml @@ -15,14 +15,10 @@ jobs: python-version: "3.11" - name: Get python version run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV - - name: Cache pre-commit environments - uses: actions/cache@v4 - with: - path: ~/.cache/pre-commit - key: pre-commit-${{ env.PY }}-${{ hashFiles('.pre-commit-config.yaml') }} - restore-keys: | - pre-commit-${{ env.PY }}- - pre-commit- + # - 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