From 8ebc71254242ab7ddd0ee1b9dcc501c28dff4cdb Mon Sep 17 00:00:00 2001 From: Enrique Lacal Date: Mon, 17 Jun 2024 17:10:10 +0100 Subject: [PATCH 1/3] Use codecov github action Signed-off-by: Enrique Lacal --- .github/workflows/go.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 139064f6a..0d98448f6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -28,6 +28,10 @@ jobs: - name: Upload coverage run: bash <(curl -s https://codecov.io/bash) + - uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + docker: runs-on: ubuntu-latest steps: From 189b3b1f082d1928fcebbcc141c3c4aec85af7d9 Mon Sep 17 00:00:00 2001 From: Enrique Lacal Date: Mon, 17 Jun 2024 17:12:44 +0100 Subject: [PATCH 2/3] remove bash codecov Signed-off-by: Enrique Lacal --- .github/workflows/go.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0d98448f6..218733e28 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -25,9 +25,6 @@ jobs: - name: Build and Test run: make - - name: Upload coverage - run: bash <(curl -s https://codecov.io/bash) - - uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} From 582db4c8814f471d9df0b2c8df30de20f9862dc7 Mon Sep 17 00:00:00 2001 From: Enrique Lacal Date: Mon, 17 Jun 2024 17:20:04 +0100 Subject: [PATCH 3/3] Specify codecov yml path Signed-off-by: Enrique Lacal --- .github/workflows/go.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 218733e28..895ee57e2 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -27,6 +27,7 @@ jobs: - uses: codecov/codecov-action@v4 with: + codecov_yml_path: ./codecov.yml token: ${{ secrets.CODECOV_TOKEN }} docker: