diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml
index 1378c20c6..34219ac61 100644
--- a/.github/workflows/ci_docs.yml
+++ b/.github/workflows/ci_docs.yml
@@ -36,7 +36,7 @@ jobs:
           python-version: 3.8
 
       - name: Cache pip
-        uses: actions/cache@v3
+        uses: actions/cache@v4
         with:
           path: ~/.cache/pip
           key: pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('_requirements/docs.txt') }}