From 49d22c7548d5cd258422ef875398c62f4a5d9239 Mon Sep 17 00:00:00 2001 From: Shiwei Zhang Date: Fri, 16 Aug 2024 00:12:33 +0800 Subject: [PATCH] build: fix codecov (#200) Signed-off-by: Shiwei Zhang --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e8e9e6..b32ca9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,4 +22,6 @@ jobs: - name: Run tests run: go test -race -v -coverprofile=coverage.txt . - name: Upload coverage to codecov.io - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}