Update actions/cache to 3.3.0 (#89438)

This commit is contained in:
Marc Mueller 2023-03-09 17:58:03 +01:00 committed by GitHub
parent f903c536fb
commit 3c27f9ea7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,7 +212,7 @@ jobs:
check-latest: true
- name: Restore base Python virtual environment
id: cache-venv
uses: actions/cache@v3.2.6
uses: actions/cache@v3.3.0
with:
path: venv
key: >-
@ -227,9 +227,10 @@ jobs:
pip install "$(cat requirements_test.txt | grep pre-commit)"
- name: Restore pre-commit environment from cache
id: cache-precommit
uses: actions/cache@v3.2.6
uses: actions/cache@v3.3.0
with:
path: ${{ env.PRE_COMMIT_CACHE }}
lookup-only: true
key: >-
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
needs.info.outputs.pre-commit_cache_key }}
@ -256,7 +257,7 @@ jobs:
check-latest: true
- name: Restore base Python virtual environment
id: cache-venv
uses: actions/cache/restore@v3.2.6
uses: actions/cache/restore@v3.3.0
with:
path: venv
fail-on-cache-miss: true
@ -265,7 +266,7 @@ jobs:
needs.info.outputs.pre-commit_cache_key }}
- name: Restore pre-commit environment from cache
id: cache-precommit
uses: actions/cache/restore@v3.2.6
uses: actions/cache/restore@v3.3.0
with:
path: ${{ env.PRE_COMMIT_CACHE }}
fail-on-cache-miss: true
@ -302,7 +303,7 @@ jobs:
check-latest: true
- name: Restore base Python virtual environment
id: cache-venv
uses: actions/cache/restore@v3.2.6
uses: actions/cache/restore@v3.3.0
with:
path: venv
fail-on-cache-miss: true
@ -311,7 +312,7 @@ jobs:
needs.info.outputs.pre-commit_cache_key }}
- name: Restore pre-commit environment from cache
id: cache-precommit
uses: actions/cache/restore@v3.2.6
uses: actions/cache/restore@v3.3.0
with:
path: ${{ env.PRE_COMMIT_CACHE }}
fail-on-cache-miss: true
@ -351,7 +352,7 @@ jobs:
check-latest: true
- name: Restore base Python virtual environment
id: cache-venv
uses: actions/cache/restore@v3.2.6
uses: actions/cache/restore@v3.3.0
with:
path: venv
fail-on-cache-miss: true
@ -360,7 +361,7 @@ jobs:
needs.info.outputs.pre-commit_cache_key }}
- name: Restore pre-commit environment from cache
id: cache-precommit
uses: actions/cache/restore@v3.2.6
uses: actions/cache/restore@v3.3.0
with:
path: ${{ env.PRE_COMMIT_CACHE }}
fail-on-cache-miss: true
@ -400,7 +401,7 @@ jobs:
check-latest: true
- name: Restore base Python virtual environment
id: cache-venv
uses: actions/cache/restore@v3.2.6
uses: actions/cache/restore@v3.3.0
with:
path: venv
fail-on-cache-miss: true
@ -409,7 +410,7 @@ jobs:
needs.info.outputs.pre-commit_cache_key }}
- name: Restore pre-commit environment from cache
id: cache-precommit
uses: actions/cache/restore@v3.2.6
uses: actions/cache/restore@v3.3.0
with:
path: ${{ env.PRE_COMMIT_CACHE }}
fail-on-cache-miss: true
@ -438,7 +439,7 @@ jobs:
check-latest: true
- name: Restore base Python virtual environment
id: cache-venv
uses: actions/cache/restore@v3.2.6
uses: actions/cache/restore@v3.3.0
with:
path: venv
fail-on-cache-miss: true
@ -447,7 +448,7 @@ jobs:
needs.info.outputs.pre-commit_cache_key }}
- name: Restore pre-commit environment from cache
id: cache-precommit
uses: actions/cache/restore@v3.2.6
uses: actions/cache/restore@v3.3.0
with:
path: ${{ env.PRE_COMMIT_CACHE }}
fail-on-cache-miss: true
@ -562,15 +563,16 @@ 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.2.6
uses: actions/cache@v3.3.0
with:
path: venv
lookup-only: true
key: >-
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
needs.info.outputs.python_cache_key }}
- name: Restore pip wheel cache
if: steps.cache-venv.outputs.cache-hit != 'true'
uses: actions/cache@v3.2.6
uses: actions/cache@v3.3.0
with:
path: ${{ env.PIP_CACHE }}
key: >-
@ -624,7 +626,7 @@ jobs:
check-latest: true
- name: Restore full Python ${{ env.DEFAULT_PYTHON }} virtual environment
id: cache-venv
uses: actions/cache/restore@v3.2.6
uses: actions/cache/restore@v3.3.0
with:
path: venv
fail-on-cache-miss: true
@ -656,7 +658,7 @@ jobs:
check-latest: true
- name: Restore base Python virtual environment
id: cache-venv
uses: actions/cache/restore@v3.2.6
uses: actions/cache/restore@v3.3.0
with:
path: venv
fail-on-cache-miss: true
@ -689,7 +691,7 @@ jobs:
check-latest: true
- name: Restore full Python ${{ env.DEFAULT_PYTHON }} virtual environment
id: cache-venv
uses: actions/cache/restore@v3.2.6
uses: actions/cache/restore@v3.3.0
with:
path: venv
fail-on-cache-miss: true
@ -740,7 +742,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.2.6
uses: actions/cache/restore@v3.3.0
with:
path: venv
fail-on-cache-miss: true
@ -748,7 +750,7 @@ jobs:
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
needs.info.outputs.python_cache_key }}
- name: Restore mypy cache
uses: actions/cache@v3.2.6
uses: actions/cache@v3.3.0
with:
path: .mypy_cache
key: >-
@ -799,7 +801,7 @@ jobs:
check-latest: true
- name: Restore full Python ${{ matrix.python-version }} virtual environment
id: cache-venv
uses: actions/cache/restore@v3.2.6
uses: actions/cache/restore@v3.3.0
with:
path: venv
fail-on-cache-miss: true
@ -852,7 +854,7 @@ jobs:
check-latest: true
- name: Restore full Python ${{ matrix.python-version }} virtual environment
id: cache-venv
uses: actions/cache/restore@v3.2.6
uses: actions/cache/restore@v3.3.0
with:
path: venv
fail-on-cache-miss: true
@ -978,7 +980,7 @@ jobs:
check-latest: true
- name: Restore full Python ${{ matrix.python-version }} virtual environment
id: cache-venv
uses: actions/cache/restore@v3.2.6
uses: actions/cache/restore@v3.3.0
with:
path: venv
fail-on-cache-miss: true
@ -1082,7 +1084,7 @@ jobs:
check-latest: true
- name: Restore full Python ${{ matrix.python-version }} virtual environment
id: cache-venv
uses: actions/cache@v3.2.6
uses: actions/cache/restore@v3.3.0
with:
path: venv
fail-on-cache-miss: true