From 8d943c787064a8b7ebca0fb7965bb2049770e611 Mon Sep 17 00:00:00 2001 From: Mikalai Radchuk Date: Thu, 20 Jun 2024 11:41:32 +0200 Subject: [PATCH] Fix codecov-action params * `functionalities` param is no longer exist. It was used to enable file fixes to ignore common lines from coverage. This feature is now seems to be on by default. * Adding `disable_search` because we do not need for the codecov action to search for coverage files: we explicitly provide files. Signed-off-by: Mikalai Radchuk --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3bfc080..5db0463 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,11 +18,10 @@ jobs: go-version-file: "go.mod" - run: make test - uses: codecov/codecov-action@v4 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: + disable_search: true files: cover.out - functionalities: fixes + token: ${{ secrets.CODECOV_TOKEN }} lint: runs-on: ubuntu-latest