diff --git a/.github/workflows/test-suite.yaml b/.github/workflows/test-suite.yaml index 54a24fdbc9..18b922e3e4 100644 --- a/.github/workflows/test-suite.yaml +++ b/.github/workflows/test-suite.yaml @@ -96,7 +96,7 @@ jobs: - name: Generate coverage report run: go tool covdata textfmt -i $GOCOVERDIR -o ${{ matrix.itest }}.out - name: Upload Results To Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./${{ matrix.itest }}.out diff --git a/.github/workflows/unittest.yaml b/.github/workflows/unittest.yaml index ad13f00d76..3f3b2eb54f 100644 --- a/.github/workflows/unittest.yaml +++ b/.github/workflows/unittest.yaml @@ -37,7 +37,7 @@ jobs: go test -coverpkg=./... -coverprofile=coverage.out ./pkg/... -run Unit go tool cover -func coverage.out - name: Upload Results To Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.out