diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 829a237..f8a40f2 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -16,21 +16,14 @@ jobs: matrix: python-version: ["3.8", "3.9", "3.10", "3.11"] + steps: - - uses: actions/checkout@v3 - + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - - name: Cache dependencies - id: cache_deps - uses: actions/cache@v3 - with: - path: | - ${{ env.pythonLocation }} - key: venv-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('**/pyproject.toml') }} + cache: 'pip' # caching pip dependencies - name: Cache test data id: cache_test_data @@ -42,7 +35,6 @@ jobs: key: venv-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('**/tests/scripts/fetch_test_data.sh') }} - name: Install dependencies - if: ${{ steps.cache_deps.outputs.cache-hit != 'true' }} run: | python -m pip install --upgrade pip pip install .