diff --git a/.github/workflows/benchmark_default_branch.yml b/.github/workflows/benchmark_default_branch.yml
index aa19cfa4..2b2631b5 100644
--- a/.github/workflows/benchmark_default_branch.yml
+++ b/.github/workflows/benchmark_default_branch.yml
@@ -24,7 +24,7 @@ jobs:
           cd tests
           pytest benchmark.py --benchmark-min-rounds=4 --benchmark-only -n 0 --no-cov --benchmark-json output.json
       - name: Upload the file
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v4
         with:
           name: benchmark_results
           path: tests/output.json
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index dcc0110c..79f8b5c8 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -38,7 +38,7 @@ jobs:
           pytest --junitxml=junit/test-results-${{ matrix.python-version }}-${{ matrix.installation }}.xml --cov-report=xml tests
 
       - name: Upload pytest test results
-        uses: actions/upload-artifact@v1
+        uses: actions/upload-artifact@v4
         with:
           name: pytest-results-${{ matrix.python-version }}-${{ matrix.installation }}
           path: junit/test-results-${{ matrix.python-version }}-${{ matrix.installation }}.xml
diff --git a/.github/workflows/test_all.yml b/.github/workflows/test_all.yml
index adde3433..2eebd9c6 100644
--- a/.github/workflows/test_all.yml
+++ b/.github/workflows/test_all.yml
@@ -35,7 +35,7 @@ jobs:
         pytest --junitxml=junit/test-results.xml --cov-report=xml tests
 
     - name: Upload pytest test results
-      uses: actions/upload-artifact@v1
+      uses: actions/upload-artifact@v4
       with:
         name: pytest-results
         path: junit/test-results.xml