diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 1a81def2c..8c2cdbaf1 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -14,17 +14,17 @@ jobs: - name: Check out repository code uses: actions/checkout@v2 - # Setup Python (faster than using Python container) - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: "3.9" - name: Install pipenv run: | python -m pip install --upgrade pipenv wheel + - id: cache-pipenv - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ~/.local/share/virtualenvs key: ${{ runner.os }}-pipenv-${{ hashFiles('**/Pipfile.lock') }}