diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 008dacd57a5..45a100092d3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -231,7 +231,7 @@ jobs: check-latest: true - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v3.3.3 + uses: actions/cache@v4.0.0 with: path: venv key: >- @@ -246,7 +246,7 @@ jobs: pip install "$(cat requirements_test.txt | grep pre-commit)" - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache@v3.3.3 + uses: actions/cache@v4.0.0 with: path: ${{ env.PRE_COMMIT_CACHE }} lookup-only: true @@ -276,7 +276,7 @@ jobs: check-latest: true - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache/restore@v3.3.3 + uses: actions/cache/restore@v4.0.0 with: path: venv fail-on-cache-miss: true @@ -285,7 +285,7 @@ jobs: needs.info.outputs.pre-commit_cache_key }} - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache/restore@v3.3.3 + uses: actions/cache/restore@v4.0.0 with: path: ${{ env.PRE_COMMIT_CACHE }} fail-on-cache-miss: true @@ -316,7 +316,7 @@ jobs: check-latest: true - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache/restore@v3.3.3 + uses: actions/cache/restore@v4.0.0 with: path: venv fail-on-cache-miss: true @@ -325,7 +325,7 @@ jobs: needs.info.outputs.pre-commit_cache_key }} - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache/restore@v3.3.3 + uses: actions/cache/restore@v4.0.0 with: path: ${{ env.PRE_COMMIT_CACHE }} fail-on-cache-miss: true @@ -355,7 +355,7 @@ jobs: check-latest: true - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache/restore@v3.3.3 + uses: actions/cache/restore@v4.0.0 with: path: venv fail-on-cache-miss: true @@ -364,7 +364,7 @@ jobs: needs.info.outputs.pre-commit_cache_key }} - name: Restore pre-commit environment from cache id: cache-precommit - uses: actions/cache/restore@v3.3.3 + uses: actions/cache/restore@v4.0.0 with: path: ${{ env.PRE_COMMIT_CACHE }} fail-on-cache-miss: true @@ -454,7 +454,7 @@ jobs: env.HA_SHORT_VERSION }}-$(date -u '+%Y-%m-%dT%H:%M:%s')" >> $GITHUB_OUTPUT - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache@v3.3.3 + uses: actions/cache@v4.0.0 with: path: venv lookup-only: true @@ -463,7 +463,7 @@ jobs: needs.info.outputs.python_cache_key }} - name: Restore pip wheel cache if: steps.cache-venv.outputs.cache-hit != 'true' - uses: actions/cache@v3.3.3 + uses: actions/cache@v4.0.0 with: path: ${{ env.PIP_CACHE }} key: >- @@ -517,7 +517,7 @@ jobs: check-latest: true - name: Restore full Python ${{ env.DEFAULT_PYTHON }} virtual environment id: cache-venv - uses: actions/cache/restore@v3.3.3 + uses: actions/cache/restore@v4.0.0 with: path: venv fail-on-cache-miss: true @@ -549,7 +549,7 @@ jobs: check-latest: true - name: Restore base Python virtual environment id: cache-venv - uses: actions/cache/restore@v3.3.3 + uses: actions/cache/restore@v4.0.0 with: path: venv fail-on-cache-miss: true @@ -582,7 +582,7 @@ jobs: check-latest: true - name: Restore full Python ${{ env.DEFAULT_PYTHON }} virtual environment id: cache-venv - uses: actions/cache/restore@v3.3.3 + uses: actions/cache/restore@v4.0.0 with: path: venv fail-on-cache-miss: true @@ -633,7 +633,7 @@ jobs: env.HA_SHORT_VERSION }}-$(date -u '+%Y-%m-%dT%H:%M:%s')" >> $GITHUB_OUTPUT - name: Restore full Python ${{ env.DEFAULT_PYTHON }} virtual environment id: cache-venv - uses: actions/cache/restore@v3.3.3 + uses: actions/cache/restore@v4.0.0 with: path: venv fail-on-cache-miss: true @@ -641,7 +641,7 @@ jobs: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ needs.info.outputs.python_cache_key }} - name: Restore mypy cache - uses: actions/cache@v3.3.3 + uses: actions/cache@v4.0.0 with: path: .mypy_cache key: >- @@ -708,7 +708,7 @@ jobs: check-latest: true - name: Restore full Python ${{ matrix.python-version }} virtual environment id: cache-venv - uses: actions/cache/restore@v3.3.3 + uses: actions/cache/restore@v4.0.0 with: path: venv fail-on-cache-miss: true @@ -860,7 +860,7 @@ jobs: check-latest: true - name: Restore full Python ${{ matrix.python-version }} virtual environment id: cache-venv - uses: actions/cache/restore@v3.3.3 + uses: actions/cache/restore@v4.0.0 with: path: venv fail-on-cache-miss: true @@ -984,7 +984,7 @@ jobs: check-latest: true - name: Restore full Python ${{ matrix.python-version }} virtual environment id: cache-venv - uses: actions/cache/restore@v3.3.3 + uses: actions/cache/restore@v4.0.0 with: path: venv fail-on-cache-miss: true