fix: Update pip cache directory usage in CI workflow
Some checks failed
CI / lint (push) Failing after 7s
CI / test (push) Has been skipped
CI / build (push) Has been skipped

This commit is contained in:
2025-11-12 10:51:58 +01:00
parent b0ff79ae9c
commit 63ec4a6953

View File

@@ -11,6 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
APT_CACHER_NG: http://192.168.88.14:3142 APT_CACHER_NG: http://192.168.88.14:3142
PIP_CACHE_DIR: /root/.cache/pip
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -29,7 +30,7 @@ jobs:
- name: Cache pip dependencies - name: Cache pip dependencies
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: ${{ steps.pip-cache.outputs.path }} path: ${{ PIP_CACHE_DIR }}
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt', 'requirements-test.txt', 'pyproject.toml') }} key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt', 'requirements-test.txt', 'pyproject.toml') }}
restore-keys: | restore-keys: |
${{ runner.os }}-pip- ${{ runner.os }}-pip-