From 086a93d6c18da4d107ecfe6904bedfe65d7e1d92 Mon Sep 17 00:00:00 2001 From: Arvind Bright Date: Tue, 11 Jun 2024 17:05:07 -0700 Subject: [PATCH 1/2] github: update codecov with token and fail_ci_if_error --- .github/workflows/coverage.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index d68931b94560..ecddcf97baf0 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -21,3 +21,6 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true From 609aa071d030b04df514c881e08cc372e566cd44 Mon Sep 17 00:00:00 2001 From: Arvind Bright Date: Mon, 24 Jun 2024 14:15:02 -0700 Subject: [PATCH 2/2] upgrade codecov to v4 --- .github/workflows/coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index ecddcf97baf0..970a48ff2cc4 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -20,7 +20,7 @@ jobs: run: go test -coverprofile=coverage.out -coverpkg=./... ./... - 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