Skip to content

Commit

Permalink
Update actions/cache action to v4 (#3333)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jan 22, 2024
1 parent 6e5e871 commit 8deeab9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Cache poetry installer
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-poetry-installer
env:
cache-name: cache-poetry-installer
Expand All @@ -44,7 +44,7 @@ jobs:
poetry config virtualenvs.create true
poetry config virtualenvs.in-project false
- name: Cache poetry
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-poetry
with:
Expand All @@ -54,7 +54,7 @@ jobs:
${{ runner.os }}-poetry-1.3.1-cache-
- name: Cache .venv
id: cache-venv
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/work/wps/wps/api/.venv
key: ${{ runner.os }}-venv-poetry-1.3.1-${{ hashFiles('**/poetry.lock') }}
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Cache poetry installer
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-poetry-installer
env:
cache-name: cache-poetry-installer
Expand All @@ -118,7 +118,7 @@ jobs:
poetry config virtualenvs.in-project false
# poetry cache folder: /home/runner/.cache/pypoetry
- name: Cache poetry
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-poetry
with:
Expand All @@ -128,7 +128,7 @@ jobs:
${{ runner.os }}-poetry-1.3.1-cache-
- name: Cache .venv
id: cache-venv
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/work/wps/wps/api/.venv
key: ${{ runner.os }}-venv-poetry-1.3.1-${{ hashFiles('**/poetry.lock') }}
Expand All @@ -150,7 +150,7 @@ jobs:
# /home/runner/work/_temp/Library ; By caching this folder, subsequent calls to
# install cffdrs run much faster.
id: cache-r-cffdrs
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /home/runner/work/_temp/Library
key: ${{ runner.os }}-r-${{ matrix.R }}-cffdrs
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
**/node_modules
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Cache poetry installer
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-poetry-installer
env:
cache-name: cache-poetry-installer
Expand All @@ -281,7 +281,7 @@ jobs:
poetry config experimental.new-installer false
# poetry cache folder: /home/runner/.cache/pypoetry
- name: Cache poetry
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-poetry
with:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/post_merge_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Cache poetry installer
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-poetry-installer
env:
cache-name: cache-poetry-installer
Expand All @@ -45,7 +45,7 @@ jobs:
poetry config virtualenvs.create true
poetry config virtualenvs.in-project false
- name: Cache poetry
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-poetry
with:
Expand All @@ -55,7 +55,7 @@ jobs:
${{ runner.os }}-poetry-1.3.1-cache-
- name: Cache .venv
id: cache-venv
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/work/wps/wps/api/.venv
key: ${{ runner.os }}-venv-poetry-1.3.1-${{ hashFiles('**/poetry.lock') }}
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Cache poetry installer
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-poetry-installer
env:
cache-name: cache-poetry-installer
Expand All @@ -119,7 +119,7 @@ jobs:
poetry config virtualenvs.in-project false
# poetry cache folder: /home/runner/.cache/pypoetry
- name: Cache poetry
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-poetry
with:
Expand All @@ -129,7 +129,7 @@ jobs:
${{ runner.os }}-poetry-1.3.1-cache-
- name: Cache .venv
id: cache-venv
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/work/wps/wps/api/.venv
key: ${{ runner.os }}-venv-poetry-1.3.1-${{ hashFiles('**/poetry.lock') }}
Expand All @@ -145,7 +145,7 @@ jobs:
r-version: ${{ matrix.R }}
- name: Cache /home/runner/work/_temp/Library
id: cache-r-cffdrs
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /home/runner/work/_temp/Library
key: ${{ runner.os }}-r-${{ matrix.R }}-cffdrs
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
**/node_modules
Expand Down

0 comments on commit 8deeab9

Please sign in to comment.