1
0
mirror of https://github.com/Prowlarr/Indexers.git synced 2026-04-28 04:13:20 +01:00

ci: add cache

This commit is contained in:
ServarrAdmin
2025-08-15 22:59:49 -05:00
parent e5e7d825cb
commit a829d53f1a

View File

@@ -37,6 +37,14 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Cache Python dependencies
uses: actions/cache@v4
with:
path: |
~/.cache/pip
.venv
key: python-deps-${{ hashFiles('requirements.txt') }}
- name: Setup Python
uses: actions/setup-python@v5
with:
@@ -45,7 +53,9 @@ jobs:
- name: Create virtual environment and install dependencies
run: |
python3 -m venv .venv
if [ ! -d ".venv" ]; then
python3 -m venv .venv
fi
source .venv/bin/activate
pip install -r requirements.txt