From 3a21fd77be497aa0972e709c28d50bc60a7b9cad Mon Sep 17 00:00:00 2001
From: Will McCutchen <will@mccutch.org>
Date: Mon, 30 Jan 2023 15:22:55 -0500
Subject: [PATCH] ci: update codecov action (#110)

---
 .codecov.yml                | 9 +++++----
 .github/workflows/test.yaml | 4 ++--
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/.codecov.yml b/.codecov.yml
index fb04707..02f03ea 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 895987e..a0fac4e 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
 
-- 
GitLab