From e9b9ef0152220f6d1013ae23b44ba12e5c93ee93 Mon Sep 17 00:00:00 2001 From: reugn Date: Sun, 18 Aug 2024 09:31:51 +0300 Subject: [PATCH] use codecov-action to upload coverage --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8fc16cd..16646ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,4 +28,6 @@ jobs: - name: Upload coverage to Codecov if: ${{ matrix.go-version == '1.18.x' }} - run: bash <(curl -s https://codecov.io/bash) \ No newline at end of file + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file