Skip to content

Commit d3d9f60

Browse files
⬆ Bump actions/cache from 3 to 4 (#10988)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
1 parent 2016de0 commit d3d9f60

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.github/workflows/build-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
uses: actions/setup-python@v5
4646
with:
4747
python-version: "3.11"
48-
- uses: actions/cache@v3
48+
- uses: actions/cache@v4
4949
id: cache
5050
with:
5151
path: ${{ env.pythonLocation }}
@@ -86,7 +86,7 @@ jobs:
8686
uses: actions/setup-python@v5
8787
with:
8888
python-version: "3.11"
89-
- uses: actions/cache@v3
89+
- uses: actions/cache@v4
9090
id: cache
9191
with:
9292
path: ${{ env.pythonLocation }}
@@ -102,7 +102,7 @@ jobs:
102102
pip install git+https://${{ secrets.FASTAPI_MKDOCS_MATERIAL_INSIDERS }}@github.com/pawamoy-insiders/mkdocstrings-python.git
103103
- name: Update Languages
104104
run: python ./scripts/docs.py update-languages
105-
- uses: actions/cache@v3
105+
- uses: actions/cache@v4
106106
with:
107107
key: mkdocs-cards-${{ matrix.lang }}-${{ github.ref }}
108108
path: docs/${{ matrix.lang }}/.cache

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
# Issue ref: https://github.com/actions/setup-python/issues/436
2222
# cache: "pip"
2323
# cache-dependency-path: pyproject.toml
24+
- uses: actions/cache@v4
25+
id: cache
26+
with:
27+
path: ${{ env.pythonLocation }}
28+
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-publish
2429
- name: Install build dependencies
2530
run: pip install build
2631
- name: Build distribution

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# Issue ref: https://github.com/actions/setup-python/issues/436
2929
# cache: "pip"
3030
# cache-dependency-path: pyproject.toml
31-
- uses: actions/cache@v3
31+
- uses: actions/cache@v4
3232
id: cache
3333
with:
3434
path: ${{ env.pythonLocation }}
@@ -66,7 +66,7 @@ jobs:
6666
# Issue ref: https://github.com/actions/setup-python/issues/436
6767
# cache: "pip"
6868
# cache-dependency-path: pyproject.toml
69-
- uses: actions/cache@v3
69+
- uses: actions/cache@v4
7070
id: cache
7171
with:
7272
path: ${{ env.pythonLocation }}

0 commit comments

Comments
 (0)