diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 02429433..73bdc27c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,9 +12,10 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up Python 3.10 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: "3.10" + cache: pip - name: Install build dependencies run: python -m pip install --upgrade pip wheel twine build - name: Build package diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e76c1c68..040e9ecb 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -35,9 +35,10 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} + cache: pip - name: Get pip cache dir id: pip-cache-dir