commit d70d2065dfc0002892645238de35859e8d9ce33c from: Jelmer Vernooij via: GitHub date: Tue Oct 15 00:59:30 2024 UTC Enable cache for pip (#1380) commit - 2074102da884bc6adc916931a56c7a4f9e9456a1 commit + d70d2065dfc0002892645238de35859e8d9ce33c blob - a56b728b358e5350087128d798f073fd292d6d23 blob + ce2d0abb477cfd18b6fd645eec2255a9c1838e3e --- .github/workflows/python-distributions.yml +++ .github/workflows/python-distributions.yml @@ -18,6 +18,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 + with: + cache: pip - name: Install native dependencies (Ubuntu) run: sudo apt-get update && sudo apt-get install -y libgpgme-dev libgpg-error-dev if: "matrix.os == 'ubuntu-latest'" @@ -46,6 +48,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 + with: + cache: pip - name: Install dependencies run: | python -m pip install --upgrade pip @@ -64,6 +68,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/setup-python@v5 + with: + cache: pip - name: Install dependencies run: | python -m pip install --upgrade pip blob - bb4215ea1f2906e20592677462f22f889d0d7900 blob + 44b6db721ec5efa0a8c4d4e1ab2daf33d2f293a3 --- .github/workflows/pythontest.yml +++ .github/workflows/pythontest.yml @@ -23,6 +23,7 @@ jobs: with: python-version: ${{ matrix.python-version }} allow-prereleases: true + cache: pip - name: Install native dependencies (Ubuntu) run: sudo apt-get update && sudo apt-get install -y libgpgme-dev libgpg-error-dev if: "matrix.os == 'ubuntu-latest'"