diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 39679aad..4fbcdea0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -76,7 +76,7 @@ jobs:
 
       # Set up Python for black
       - name: Set up Python
-        uses: actions/setup-python@v4
+        uses: actions/setup-python@v5
         with:
           python-version: '3.11'  # Adjust to your required Python version