fix: updated actions/cache v2/v3 to v4

This commit is contained in:
Shariq Ansari 2025-03-05 16:42:06 +05:30
parent eab794395f
commit 6e8aac25e5

View File

@ -51,7 +51,7 @@ jobs:
check-latest: true
- name: Cache pip
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt', '**/pyproject.toml', '**/setup.py', '**/setup.cfg') }}
@ -63,7 +63,7 @@ jobs:
id: yarn-cache-dir-path
run: 'echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT'
- uses: actions/cache@v3
- uses: actions/cache@v4
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}