From 42c6c3876e173dd30fc0aaedf169ff3e6fc79225 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Mon, 5 Sep 2022 13:07:41 -0400 Subject: [PATCH 1/2] Update version of codecov action given errors seen in other PRs using v2 --- .github/workflows/cli.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 31a8a2aaee..52daf459b3 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -61,7 +61,7 @@ jobs: - name: Upload coverage to Codecov if: success() && matrix.go == '1.19.x' && matrix.os == 'ubuntu-latest' - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 with: fail_ci_if_error: true From 6245c0a06ca961e235e26bb7f5c9bae340e49107 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Mon, 5 Sep 2022 13:14:09 -0400 Subject: [PATCH 2/2] Explicitly pass CODECOV_TOKEN --- .github/workflows/cli.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 52daf459b3..a28a3d8cba 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -63,6 +63,7 @@ jobs: if: success() && matrix.go == '1.19.x' && matrix.os == 'ubuntu-latest' uses: codecov/codecov-action@v3 with: + token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true test-docs: