]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
CI: Enable pip caching main
authorStephen Finucane <stephen@that.guru>
Tue, 11 Mar 2025 09:15:15 +0000 (09:15 +0000)
committerStephen Finucane <stephen@that.guru>
Tue, 11 Mar 2025 09:15:15 +0000 (09:15 +0000)
Signed-off-by: Stephen Finucane <stephen@that.guru>
.github/workflows/ci.yaml

index dbcdd3bee74ee67bae20764e3de26cbed1f0eb33..796bf32ae967d8ffd0c662510b601acfbb1190d6 100644 (file)
@@ -17,6 +17,7 @@ jobs:
         uses: actions/setup-python@v5
         with:
           python-version: "3.13"
+          cache: 'pip'
       - name: Set up Go
         uses: actions/setup-go@v5
         with:
@@ -76,6 +77,7 @@ jobs:
         uses: actions/setup-python@v5
         with:
           python-version: ${{ matrix.python }}
+          cache: 'pip'
       - name: Install Python dependencies
         run: python -m pip install tox tox-gh-actions
       - name: Log database configuration (mysql)
@@ -109,6 +111,7 @@ jobs:
         uses: actions/setup-python@v5
         with:
           python-version: "3.13"
+          cache: 'pip'
       - name: Install dependencies
         run: python -m pip install tox
       - name: Build docs (via tox)
@@ -136,6 +139,7 @@ jobs:
         uses: actions/setup-python@v5
         with:
           python-version: "3.13"
+          cache: 'pip'
       - name: Build docker-compose service
         run: |
           docker compose build --build-arg UID=$(id -u) --build-arg GID=$(id -g)