From 2c0563aa85a8a087dde05fa57a32b4fe6938d46a Mon Sep 17 00:00:00 2001 From: ramin Date: Thu, 16 May 2024 17:27:46 +0100 Subject: [PATCH] ci: add secrets.CODECOV_TOKEN to codecov (#255) --- .github/workflows/go.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5e94c02..7b68195 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -37,6 +37,7 @@ jobs: go test -v -coverpkg=./... -covermode=atomic -coverprofile coverage.txt ./... - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true