From 9cbd1a144189c768535d401084d66e3b117a264b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 23 Mar 2024 00:36:27 +0000 Subject: [PATCH 1/3] Bump codecov/codecov-action from 3 to 4 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index fafcecd..74c8e8b 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -20,6 +20,6 @@ jobs: run: make dependencies || true # Used in fortio for instance to prep for go tests - name: Run test coverage run: go test -coverprofile=coverage.out ./... - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: files: coverage.out From c298d0fd4293c3dfce494d55afcaeccce308e1aa Mon Sep 17 00:00:00 2001 From: Laurent Demailly Date: Sun, 24 Mar 2024 11:02:13 -0700 Subject: [PATCH 2/3] need the CODECOV_TOKEN for v4 --- .github/workflows/codecov.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 74c8e8b..490305d 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -2,6 +2,9 @@ name: "Code Coverage" on: workflow_call: + secrets: + CODECOV_TOKEN: + required: true push: branches: [ main ] pull_request: @@ -23,3 +26,4 @@ jobs: - uses: codecov/codecov-action@v4 with: files: coverage.out + token: ${{ secrets.CODECOV_TOKEN }} From 82a11a05171c2892db5ee6be35e1d4baf5adb4a0 Mon Sep 17 00:00:00 2001 From: Laurent Demailly Date: Sun, 24 Mar 2024 11:53:39 -0700 Subject: [PATCH 3/3] pin to current v4 --- .github/workflows/codecov.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index fe6ec72..9b35655 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -4,7 +4,7 @@ on: workflow_call: secrets: CODECOV_TOKEN: - required: true + required: true push: branches: [ main ] pull_request: @@ -23,6 +23,6 @@ jobs: run: make dependencies || true # Used in fortio for instance to prep for go tests - name: Run test coverage run: go test -coverprofile=coverage.out ./... - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab # pin@v4 with: files: coverage.out