diff --git a/.codecov.yml b/.codecov.yml
index fb0470754a38f78e7d83c1552037d6abfe888389..02f03eab1b248a241441e0ff3e14c835e4dfcc30 100644
--- a/.codecov.yml
+++ b/.codecov.yml
@@ -12,10 +12,11 @@ coverage:
 
   # https://docs.codecov.io/docs/commit-status
   status:
-    target: auto
-    threshold: 2
-    patch: no
-    changes: no
+    project:
+      default:
+        target: auto
+        base: auto
+        threshold: 2%
 
 parsers:
   gcov:
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 895987e2b1505dd8e9056e82310e76e8689b7ac7..a0fac4e0cbebe034d8565cae478a8c5c21ec2b40 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -25,9 +25,9 @@ jobs:
 
     - run: make testci
 
-    - uses: codecov/codecov-action@v1
+    - uses: codecov/codecov-action@v3
       with:
-        file: ./coverage.txt
+        files: ./coverage.txt
 
     - run: make image