Skip to content

Commit

Permalink
chore(deps): update actions/cache action to v4 (#286)
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 18, 2024
1 parent 6fa14a3 commit 4367d94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/setup-python/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ runs:
# Poetry depends on OS, Python version and Poetry version.
- name: Cache Poetry
id: cache-poetry
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "${{ inputs.poetry-home }}"
key: "poetry-${{ runner.os }}-${{ inputs.python-version }}-${{ inputs.poetry-version }}"

# Poetry cache depends on OS, Python version and Poetry version.
- name: Cache Poetry cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "~/.cache/pypoetry"
key: "poetry-cache-${{ runner.os }}-${{ inputs.python-version }}-${{ inputs.poetry-version }}"

# virtualenv cache should depends on OS, Python version and `poetry.lock`.
- name: Cache Packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "${{ github.workspace }}/.venv"
key: "poetry-${{ runner.os }}-${{ inputs.python-version }}-${{ hashFiles('**/poetry.lock') }}"
Expand Down

0 comments on commit 4367d94

Please sign in to comment.