diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 11936bc..7ba86af 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -32,7 +32,7 @@ jobs: with: node-version: latest - name: Cache node_modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: node_modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }} diff --git a/.github/workflows/python-checks.yaml b/.github/workflows/python-checks.yaml index 668c59f..eb26428 100644 --- a/.github/workflows/python-checks.yaml +++ b/.github/workflows/python-checks.yaml @@ -42,12 +42,12 @@ jobs: echo "PY=$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_OUTPUT echo "PIP_CACHE=$(pip cache dir)" >> $GITHUB_OUTPUT - name: Cache PIP - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.set_variables.outputs.PIP_CACHE }} key: ${{ runner.os }}-pip-${{ steps.set_variables.outputs.PY }} - name: Cache venv - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .venv key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('pdm.lock') }}