From ba339f02e5f3fbad774e4bfd4502517230c28c06 Mon Sep 17 00:00:00 2001 From: Christopher Hlubek Date: Thu, 19 Sep 2024 15:20:41 +0200 Subject: [PATCH] Update codecov action --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2de4edd..285f8c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,5 +52,7 @@ jobs: - name: Calc coverage run: | go test -cover ./... -coverpkg=github.com/networkteam/construct/v2/... -coverprofile=coverage.txt - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + - name: Upload coverage reports to Codecov with GitHub Action + uses: codecov/codecov-action@v4.2.0 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}